onnx.mapping#
This module defines the correspondance between onnx numerical types and numpy numerical types. This information can be accessed through attribute TENSOR_TYPE_MAP or through the functions defined in l-mod-onnx-helper.
TensorDtypeMap#
- class onnx.mapping.TensorDtypeMap(np_dtype, storage_dtype, name)#
Create new instance of TensorDtypeMap(np_dtype, storage_dtype, name)