onnx_ir¶
Functions and constructors¶
Load an ONNX model from a file. |
|
Save an ONNX model to a file. |
|
Deserialize an ONNX proto message to an IR object. |
|
Convert the ONNX textual representation to an IR model. |
|
Serialize an IR object to a proto. |
|
Create a tensor value from an ArrayLike object or a TensorProto. |
|
Create an |
Classes¶
Concrete tensor backed by data. |
|
IR Value. |
|
IR Node. |
|
IR Graph. |
|
A read-only view on a graph. |
|
IR functions. |
|
Base class for ONNX attributes or references. |
|
The shape of a tensor, including its dimensions and optional denotations. |
|
Immutable symbolic dimension that can be shared across multiple shapes. |
|
Type and shape. |
|
A type that represents a tensor. |
|
A type that represents a sparse tensor. |
|
A type that represents a sequence of elements. |
|
A type that represents an optional element. |
|
An immutable concrete tensor. |
|
An immutable concrete tensor with its data store on disk. |
|
Multidimensional array of strings (as binary data to match the string_data field in TensorProto). |
|
A tensor that lazily evaluates a function to get the actual tensor. |
Enums¶
Enum for the data types of ONNX tensors, defined in |
|
Enum for the types of ONNX attributes. |