onnx_light.onnx.helper#
Functions
|
Returns the attribute value whatever the type is. |
|
Makes an AttributeProto based on the value type. |
|
Makes an AttributeProto holding a reference to the parent " function's attribute of given name and type. |
|
Creates an empty tensor value info. |
|
Constructs a FunctionProto. |
|
Constructs a GraphProto |
|
Make a Map with specified key-value pair arguments. |
|
Makes a map TypeProto. |
|
Constructs a ModelProto |
|
Constructs a NodeProto. |
|
Construct an OperatorSetIdProto. |
|
Constructs an OperatorSetIdProto. |
|
Make an Optional with specified value arguments. |
|
Makes an optional TypeProto. |
|
Make a Sequence with specified value arguments. |
|
Makes a sequence TypeProto. |
|
Construct a SparseTensorProto |
|
Makes a SparseTensor TypeProto based on the data type and shape. |
|
Makes a SparseTensor ValueInfoProto based on the data type and shape. |
|
Makes a TensorProto with specified arguments. |
|
Makes a Sequence[Tensors] ValueInfoProto based on the data type and shape. |
|
Makes a Tensor TypeProto based on the data type and shape. |
|
Makes a ValueInfoProto based on the data type and shape. |
|
Makes a ValueInfoProto with the given type_proto. |
|
Sets metadata_props. |
|
Sets metadata_props. |
|
Converts a TensorProto's data_type to corresponding field name for storage. |
|
Converts a TensorProto's data_type to corresponding numpy dtype. |
Classes
|