IMLOperatorKernelContext.GetInputTensor method
Gets the input tensor of the operator at the specified index. This sets the tensor to nullptr for optional inputs which do not exist. Returns an error if the input at the specified index is not a tensor.
void GetInputTensor(
uint32_t inputIndex,
_COM_Outptr_result_maybenull_ IMLOperatorTensor** tensor)
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.