WINML_BINDING_DESC structure (winml.h)

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

Contains a description of the WinML binding.

Syntax

typedef struct WINML_BINDING_DESC {
  LPCWSTR            Name;
  WINML_BINDING_TYPE BindType;
  union {
    WINML_TENSOR_BINDING_DESC   Tensor;
    WINML_SEQUENCE_BINDING_DESC Sequence;
    WINML_MAP_BINDING_DESC      Map;
    WINML_IMAGE_BINDING_DESC    Image;
    WINML_RESOURCE_BINDING_DESC Resource;
  };
} WINML_BINDING_DESC;

Members

Name

The name of the WinML binding.

BindType

A WINML_BINDING_TYPE containing the type of the WinML binding.

Tensor

A WINML_TENSOR_BINDING_DESC containing the description of the tensor binding.

Sequence

A WINML_SEQUENCE_BINDING_DESC containing the description of the sequence binding.

Map

A WINML_MAP_BINDING_DESC containing the description of the map binding.

Image

A WINML_IMAGE_BINDING_DESC containing the description of the image binding.

Resource

A WINML_RESOURCE_BINDING_DESC containing the description of the resource binding.

Requirements

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