IMLOperatorTensor.GetDataInterface method
Gets an interface pointer for the tensor. This may be used when IMLOperatorTensor::IsDataInterface returns true, because the kernel was registered using MLOperatorExecutionType::D3D12. The dataInterface object supports the ID3D12Resource interface, and is a GPU buffer.
void GetDataInterface(
_COM_Outptr_result_maybenull_ IUnknown** dataInterface)
Requirements
Requirement | |
---|---|
Minimum supported client | Windows 10, build 17763 |
Minimum supported server | Windows Server 2019 with Desktop Experience |
Header | MLOperatorAuthor.h |
Note
Use the following resources for help with Windows ML:
- To ask or answer technical questions about Windows ML, please use the windows-machine-learning tag on Stack Overflow.
- To report a bug, please file an issue on our GitHub.