Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
These APIs have been deprecated and should no longer be used: Please use Windows.AI.MachineLearning instead.
Contains description properties of the variable.
Syntax
typedef struct WINML_VARIABLE_DESC {
LPWSTR Name;
LPWSTR Description;
WINML_FEATURE_TYPE FeatureType;
BOOL Required;
union {
WINML_TENSOR_VARIABLE_DESC Tensor;
WINML_SEQUENCE_VARIABLE_DESC Sequence;
WINML_MAP_VARIABLE_DESC Map;
WINML_IMAGE_VARIABLE_DESC Image;
};
} WINML_VARIABLE_DESC;
Members
Name
The name of the variable.
Description
The description of the variable.
FeatureType
A WINML_FEATURE_TYPE containing the feature type of variable.
Required
true if the variable is required; otherwise, false.
Tensor
A WINML_TENSOR_VARIABLE_DESC containing the description of the tensor variable.
Sequence
A WINML_SEQUENCE_VARIABLE_DESC containing the description of the sequence variable.
Map
A WINML_MAP_VARIABLE_DESC containing the description of the map variable.
Image
A WINML_IMAGE_VARIABLE_DESC containing the description of the image variable.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1803 [desktop apps only] |
| Minimum supported server | Windows Server [desktop apps only] |
| Header | winml.h |