WINML_TENSOR_VARIABLE_DESC structure

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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

Contains description properties of the tensor variable.

Syntax

typedef struct WINML_TENSOR_VARIABLE_DESC {
  WINML_TENSOR_DATA_TYPE ElementType;
  UINT                   NumDimensions;
  INT64                  *pShape;
} WINML_TENSOR_VARIABLE_DESC;

Members

ElementType

A WINML_TENSOR_DATA_TYPE containing the element tensor data type.

NumDimensions

The tensor variable dimension count.

pShape

The shape of the tensor variable.

Requirements

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