WINML_MAP_BINDING_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 properties for the binding of type map.

Syntax

typedef struct WINML_MAP_BINDING_DESC {
  UINT                   ElementCount;
  WINML_TENSOR_DATA_TYPE KeyType;
  union {
    LPWSTR *pStringKeys;
    INT64  *pIntKeys;
  };
  WINML_TENSOR_DATA_TYPE Fields;
  union {
    LPWSTR *pStringFields;
    INT64  *pIntFields;
    FLOAT  *pFloatFields;
    DOUBLE *pDoubleFields;
  };
} WINML_MAP_BINDING_DESC;

Members

ElementCount

Element count in the map binding.

KeyType

A WINML_TENSOR_DATA_TYPE containing the key element tensor data type.

pStringKeys

A pointer to the key data of type string.

pIntKeys

A pointer to the key data of type int.

Fields

A WINML_TENSOR_DATA_TYPE containing the field element tensor data type.

pStringFields

A pointer to the field data of type string.

pIntFields

A pointer to the field data of type int.

pFloatFields

A Pointer to the field data of type string.

pDoubleFields

A pointer to the field data of type int.

Requirements

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