IMLOperatorTypeInferenceContext interface

Provides information about an operator's usage while type inferrers are being invoked.

Methods

Name Description
GetInputCount Gets the number of inputs to the operator.
GetInputEdgeDescription Gets the description of the specified input edge of the operator.
GetOutputCount Gets the number of outputs to the operator.
IsInputValid Returns true if an input to the operator is valid.
IsOutputValid Returns true if an output to the operator is valid.
SetOutputEdgeDescription Sets the inferred type of an output edge.

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.