WINML_RESOURCE_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 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 <a href="https://docs.microsoft.com/windows/desktop/api/winml/ne-winml-winml_tensor_data_type">WINML_TENSOR_DATA_TYPE</a> 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 <a href="https://docs.microsoft.com/windows/desktop/api/d3d12/nn-d3d12-id3d12resource">ID3D12Resource</a> describing the D3D12 resource.
    

Requirements

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