Basics
The documentation is at https://onnx.ai/onnx/intro/index.html.
TypeProto
If it is a tensor type, we need to provide element type and shape of the tensor,
where the shape
is of type TensorShapeProto
.
TensorProto
It defines a enum for data type.
We need to specify its data type, dims, and the actual data.