Upravit

Sdílet prostřednictvím


IMLOperatorTensorShapeDescription interface

Represents the set of input and output tensor shapes of an operator. This interface is called by the factory objects registered to create kernels. It is available to these factory objects unless corresponding kernels are registered using the MLOperatorKernelOptions::AllowDynamicInputShapes flag.

Methods

Name Description
GetInputTensorDimensionCount Gets the number of dimensions of a tensor input of the operator.
GetInputTensorShape Gets the sizes of dimensions of an input tensor of the operator.
GetOutputTensorDimensionCount Gets the number of dimensions of a tensor output of the operator.
GetOutputTensorShape Gets the sizes of dimensions of a tensor output of the operator.
HasOutputShapeDescription Returns true if output shapes may be queried using GetOutputTensorDimensionCount and GetOutputTensorShape.

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.