Edit

WINML_SEQUENCE_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 sequence binding.

Syntax

typedef struct WINML_SEQUENCE_BINDING_DESC {
  UINT                   ElementCount;
  WINML_TENSOR_DATA_TYPE ElementType;
  union {
    LPWSTR *pStrings;
    INT64  *pInts;
    FLOAT  *pFloats;
    DOUBLE *pDoubles;
  };
} WINML_SEQUENCE_BINDING_DESC;

Members

ElementCount

The element count in the sequence binding.

ElementType

A WINML_TENSOR_DATA_TYPE containing the element tensor data type.

pStrings

A pointer to the element data of type string.

pInts

The element data of type int.

pFloats

A pointer to the element data of type float.

pDoubles

A pointer to the element data of type double.

Requirements

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