title | description | ms.date | ms.topic | keywords | topic_type | api_type | api_name | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
IMLOperatorKernelContext interface |
Provides information about an operator's usage while kernels are being computed. |
4/1/2019 |
article |
windows 10, windows machine learning, WinML, custom operators, IMLOperatorKernelContext |
|
|
|
|
Provides information about an operator's usage while kernels are being computed.
Name | Description |
---|---|
AllocateTemporaryData | Allocates temporary data which will be usable as intermediate memory for the duration of a call to IMLOperatorKernel::Compute. |
GetExecutionInterface | Returns an object whose supported interfaces vary based on the kernel type. |
GetInputTensor | Gets the input tensor of the operator at the specified index. |
GetOutputTensor(uint32_t, IMLOperatorTensor**) | Gets the output tensor of the operator at the specified index. |
GetOutputTensor(uint32_t, uint32_t, const uint32_t*, IMLOperatorTensor**) | Gets the output tensor of the operator at the specified index, while declaring its shape. |
Requirement | |
---|---|
Minimum supported client | Windows 10, build 17763 |
Minimum supported server | Windows Server 2019 with Desktop Experience |
Header | MLOperatorAuthor.h |
[!INCLUDE help]