ITensorNative interface

Provides access to an ITensor as an array of bytes or ID3D12Resource objects.

Methods

Name Description
GetBuffer Gets the tensor’s buffer as an array of bytes.
GetD3D12Resource Gets the tensor buffer as an ID3D12Resource.

Requirements

Requirement
Minimum supported client Windows 10, build 17763
Minimum supported server Windows Server 2019 with Desktop Experience
Header windows.ai.machinelearning.native.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.