Edit

WINML_TENSOR_BINDING_DESC structure (winml.h)

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

Contains description properties of the tensor binding.

Syntax

typedef struct WINML_TENSOR_BINDING_DESC {
  WINML_TENSOR_DATA_TYPE DataType;
  UINT                   NumDimensions;
  INT64                  *pShape;
  UINT                   DataSize;
  void                   *pData;
} WINML_TENSOR_BINDING_DESC;

Members

DataType

A WINML_TENSOR_DATA_TYPE containing the WinML tensor data type.

NumDimensions

The WinML tensor dimension count.

pShape

A pointer to the shape of the WinML tensor.

DataSize

The size of tensor data in bytes.

pData

Pointer to the tensor data.

Requirements

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