WINML_RESOURCE_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 resource binding.
Syntax
typedef struct WINML_RESOURCE_BINDING_DESC {
WINML_TENSOR_DATA_TYPE ElementType;
UINT NumDimensions;
INT64 *pShape;
ID3D12Resource *pResource;
} WINML_RESOURCE_BINDING_DESC;
Members
ElementType
A WINML_TENSOR_DATA_TYPE containing the element tensor data type.
NumDimensions
The resource dimension count.
pShape
A pointer to the shape of the resource.
pResource
A pointer to an ID3D12Resource describing the D3D12 resource.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 [desktop apps only] |
Minimum supported server | Windows Server [desktop apps only] |
Header | winml.h |