Opsets and Types¶

Opsets¶

onnxscript.onnx_opset.opset19 All operators defined in opset 19 for the main domain.¶
onnxscript.onnx_opset.opset18 All operators defined in opset 18 for the main domain.¶
onnxscript.onnx_opset.opset17 All operators defined in opset 17 for the main domain.¶
onnxscript.onnx_opset.opset16 All operators defined in opset 16 for the main domain.¶
onnxscript.onnx_opset.opset15 All operators defined in opset 15 for the main domain.¶

Types¶

onnxscript.onnx_types.BFLOAT16 = <class 'onnxscript.onnx_types.BFLOAT16'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.BOOL = <class 'onnxscript.onnx_types.BOOL'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.COMPLEX64 = <class 'onnxscript.onnx_types.COMPLEX64'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.COMPLEX128 = <class 'onnxscript.onnx_types.COMPLEX128'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.DOUBLE = <class 'onnxscript.onnx_types.DOUBLE'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.FLOAT = <class 'onnxscript.onnx_types.FLOAT'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.FLOAT16 = <class 'onnxscript.onnx_types.FLOAT16'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.INT8 = <class 'onnxscript.onnx_types.INT8'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.INT16 = <class 'onnxscript.onnx_types.INT16'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.INT32 = <class 'onnxscript.onnx_types.INT32'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.INT64 = <class 'onnxscript.onnx_types.INT64'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.STRING = <class 'onnxscript.onnx_types.STRING'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.UINT8 = <class 'onnxscript.onnx_types.UINT8'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.UINT16 = <class 'onnxscript.onnx_types.UINT16'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.UINT32 = <class 'onnxscript.onnx_types.UINT32'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]
onnxscript.onnx_types.UINT64 = <class 'onnxscript.onnx_types.UINT64'>[source]¶

ONNX Script representation of a tensor type supporting shape annotations.

A scalar-tensor of rank 0:

tensor: FLOAT

A tensor of unknown rank:

tensor: FLOAT[...]

A tensor of rank 2 of unknown dimensions, with symbolic names:

tensor: FLOAT['M', 'N']

A tensor of rank 2 of known dimensions:

tensor: FLOAT[128, 1024]