IMLOperatorKernelCreationContext.HasTensorShapeDescription method

Returns true if the description of input and output shapes connected to operator edges may be queried using IMLOperatorKernelCreationContext::GetTensorShapeDescription. This returns true unless the operator was registered using the MLOperatorKernelOptions::AllowDynamicInputShapes flag.

bool HasTensorShapeDescription()

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.