WINML_IMAGE_BINDING_DESC structure (winml.h)

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

Contains properties for the binding of the type image.

Syntax

typedef struct WINML_IMAGE_BINDING_DESC {
  WINML_TENSOR_DATA_TYPE ElementType;
  UINT                   NumDimensions;
  INT64                  *pShape;
  UINT                   DataSize;
  void                   *pData;
} WINML_IMAGE_BINDING_DESC;

Members

ElementType

A WINML_TENSOR_DATA_TYPE describing the element tensor data type.

NumDimensions

The image tensor dimension count.

pShape

Pointer to the shape of the image.

DataSize

Size of image data in bytes.

pData

Pointer to the image 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