npx.npx_types#
DType#
ElemType#
OptParType#
OptTensorType#
ParType#
Scalar#
SequenceType#
ShapeType#
TensorType#
- class onnx_array_api.npx.npx_types.TensorType[source]#
Used to annotate functions.
- Parameters:
dtypes – tuple of
ElemType
shape – tuple of integer or strings or None
name – name of the type
TupleType#
Shortcuts#
- class onnx_array_api.npx.npx_types.Bool#
- class onnx_array_api.npx.npx_types.BFloat16#
- class onnx_array_api.npx.npx_types.Float16#
- class onnx_array_api.npx.npx_types.Float32#
- onnx_array_api.npx.npx_types.Int8#
alias of
int8
- onnx_array_api.npx.npx_types.Int16#
alias of
int16
- onnx_array_api.npx.npx_types.Int32#
alias of
int32
- onnx_array_api.npx.npx_types.Int64#
alias of
int64
- onnx_array_api.npx.npx_types.UInt8#
alias of
uint8
- onnx_array_api.npx.npx_types.UInt16#
alias of
uint16
- onnx_array_api.npx.npx_types.UInt32#
alias of
uint32
- onnx_array_api.npx.npx_types.UInt64#
alias of
uint64