WINML_TENSOR_DATA_TYPE enumeration (winml.h)

These APIs have been deprecated and should no longer be used:  Please use Windows.AI.MachineLearning instead.

Specifies the different data types of WinML tensors.

Syntax

typedef enum WINML_TENSOR_DATA_TYPE {
  WINML_TENSOR_UNDEFINED = 0,
  WINML_TENSOR_FLOAT,
  WINML_TENSOR_UINT8,
  WINML_TENSOR_INT8,
  WINML_TENSOR_UINT16,
  WINML_TENSOR_INT16,
  WINML_TENSOR_INT32,
  WINML_TENSOR_INT64,
  WINML_TENSOR_STRING,
  WINML_TENSOR_BOOLEAN,
  WINML_TENSOR_FLOAT16,
  WINML_TENSOR_DOUBLE,
  WINML_TENSOR_UINT32,
  WINML_TENSOR_UINT64,
  WINML_TENSOR_COMPLEX64,
  WINML_TENSOR_COMPLEX128
} ;

Constants

 
WINML_TENSOR_UNDEFINED
Value: 0
Tensor data type undefined.
WINML_TENSOR_FLOAT
Tensor of data type float.
WINML_TENSOR_UINT8
Tensor of data type uint8.
WINML_TENSOR_INT8
Tensor of data type int8.
WINML_TENSOR_UINT16
Tensor of data type uint16.
WINML_TENSOR_INT16
Tensor of data type int16.
WINML_TENSOR_INT32
Tensor of data type int32.
WINML_TENSOR_INT64
Tensor of data type int64.
WINML_TENSOR_STRING
Tensor of data type string.
WINML_TENSOR_BOOLEAN
Tensor of data type Boolean.
WINML_TENSOR_FLOAT16
Tensor of data type float16.
WINML_TENSOR_DOUBLE
Tensor of data type double.
WINML_TENSOR_UINT32
Tensor of data type uint32.
WINML_TENSOR_UINT64
Tensor of data type uint64.
WINML_TENSOR_COMPLEX64
Tensor of data type complex64.
WINML_TENSOR_COMPLEX128
Tensor of data type complex128.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Header winml.h