Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.73 KB

IMLOperatorKernelContext.md

File metadata and controls

39 lines (32 loc) · 1.73 KB
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
APIRef
NA
IMLOperatorKernelContext
MLOperatorAuthor.h

IMLOperatorKernelContext interface

Provides information about an operator's usage while kernels are being computed.

Methods

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.

Requirements

Requirement
Minimum supported client Windows 10, build 17763
Minimum supported server Windows Server 2019 with Desktop Experience
Header MLOperatorAuthor.h

[!INCLUDE help]