class documentation
class DataType(Enum):
Constructors: DataType.from_dlc_dtype(dtype), DataType.from_ir_ie_dtype(dtype), DataType.from_ir_runtime_dtype(dtype), DataType.from_numpy_dtype(dtype), DataType.from_onnx_dtype(dtype), DataType.from_tensorflow_dtype(dtype)
Undocumented
| Class Method | from |
Create a DataType from an SNPE DLC dtype name. |
| Class Method | from |
Create a DataType from an OpenVINO IR dtype string. |
| Class Method | from |
Create a DataType from an OpenVINO runtime dtype string. |
| Class Method | from |
Create a DataType from a NumPy dtype. |
| Class Method | from |
Create a DataType from an ONNX tensor dtype value. |
| Class Method | from |
Create a DataType from a TFLite tensor dtype value. |
| Method | as |
Convert this data type to the NN Archive dtype spelling. |
| Method | as |
Convert this data type to the corresponding NumPy dtype. |
| Method | as |
Convert this data type to the corresponding OpenVINO dtype. |
| Method | as |
Convert this data type to the corresponding SNPE dtype. |
| Constant | BOOLEAN |
Undocumented |
| Constant | FLOAT16 |
Undocumented |
| Constant | FLOAT32 |
Undocumented |
| Constant | FLOAT64 |
Undocumented |
| Constant | FXP16 |
Undocumented |
| Constant | FXP32 |
Undocumented |
| Constant | FXP64 |
Undocumented |
| Constant | FXP8 |
Undocumented |
| Constant | INT16 |
Undocumented |
| Constant | INT32 |
Undocumented |
| Constant | INT4 |
Undocumented |
| Constant | INT64 |
Undocumented |
| Constant | INT8 |
Undocumented |
| Constant | STRING |
Undocumented |
| Constant | UFXP16 |
Undocumented |
| Constant | UFXP32 |
Undocumented |
| Constant | UFXP64 |
Undocumented |
| Constant | UFXP8 |
Undocumented |
| Constant | UINT16 |
Undocumented |
| Constant | UINT32 |
Undocumented |
| Constant | UINT64 |
Undocumented |
| Constant | UINT8 |
Undocumented |