Module utils

Module utils 

Source
Expand description

Various utilities to deal with the ONNX format structure

Structs§

AttributeNotFoundError
Shape

Enums§

DataTypeError
InputTensor
OpsetError
OutputTensor
ScalarType
Data type for a single number
TensorConversionError

Traits§

NodeAttributes

Functions§

attribute
get_opset_version
graph
initializer
initializer_int64
model
model_with_opset
node
tensor
Shorthand method to define an ONNX tensor with the specified name and shape (data type is f32)
tensor_of_type
Shorthand method to define an ONNX tensor with the specified name, shape and data type