class documentation

Undocumented

Class Method from_dlc_dtype Create a DataType from an SNPE DLC dtype name.
Class Method from_ir_ie_dtype Create a DataType from an OpenVINO IR dtype string.
Class Method from_ir_runtime_dtype Create a DataType from an OpenVINO runtime dtype string.
Class Method from_numpy_dtype Create a DataType from a NumPy dtype.
Class Method from_onnx_dtype Create a DataType from an ONNX tensor dtype value.
Class Method from_tensorflow_dtype Create a DataType from a TFLite tensor dtype value.
Method as_nn_archive_dtype Convert this data type to the NN Archive dtype spelling.
Method as_numpy_dtype Convert this data type to the corresponding NumPy dtype.
Method as_openvino_dtype Convert this data type to the corresponding OpenVINO dtype.
Method as_snpe_dtype 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
@classmethod
def from_dlc_dtype(cls, dtype: str) -> DataType:

Create a DataType from an SNPE DLC dtype name.

@classmethod
def from_ir_ie_dtype(cls, dtype: str) -> DataType:

Create a DataType from an OpenVINO IR dtype string.

@classmethod
def from_ir_runtime_dtype(cls, dtype: str) -> DataType:

Create a DataType from an OpenVINO runtime dtype string.

@classmethod
def from_numpy_dtype(cls, dtype: np.dtype) -> DataType:

Create a DataType from a NumPy dtype.

@classmethod
def from_onnx_dtype(cls, dtype: int) -> DataType:

Create a DataType from an ONNX tensor dtype value.

@classmethod
def from_tensorflow_dtype(cls, dtype: int) -> DataType:

Create a DataType from a TFLite tensor dtype value.

def as_nn_archive_dtype(self) -> str:

Convert this data type to the NN Archive dtype spelling.

def as_numpy_dtype(self) -> np.dtype:

Convert this data type to the corresponding NumPy dtype.

def as_openvino_dtype(self) -> str:

Convert this data type to the corresponding OpenVINO dtype.

def as_snpe_dtype(self) -> str:

Convert this data type to the corresponding SNPE dtype.

BOOLEAN: str =

Undocumented

Value
'boolean'
FLOAT16: str =

Undocumented

Value
'float16'
FLOAT32: str =

Undocumented

Value
'float32'
FLOAT64: str =

Undocumented

Value
'float64'
FXP16: str =

Undocumented

Value
'fxp16'
FXP32: str =

Undocumented

Value
'fxp32'
FXP64: str =

Undocumented

Value
'fxp64'
FXP8: str =

Undocumented

Value
'fxp8'
INT16: str =

Undocumented

Value
'int16'
INT32: str =

Undocumented

Value
'int32'
INT4: str =

Undocumented

Value
'int4'
INT64: str =

Undocumented

Value
'int64'
INT8: str =

Undocumented

Value
'int8'
STRING: str =

Undocumented

Value
'string'
UFXP16: str =

Undocumented

Value
'ufxp16'
UFXP32: str =

Undocumented

Value
'ufxp32'
UFXP64: str =

Undocumented

Value
'ufxp64'
UFXP8: str =

Undocumented

Value
'ufxp8'
UINT16: str =

Undocumented

Value
'uint16'
UINT32: str =

Undocumented

Value
'uint32'
UINT64: str =

Undocumented

Value
'uint64'
UINT8: str =

Undocumented

Value
'uint8'