MLOperatorEdgeTypeConstraint struct

Specifies constraints upon the types of edges supported in custom operator kernels and schema. The provided type label string corresponds to type labels in the ONNX specification for the same operator. For custom schema, it corresponds to type labels specified within MLOperatorSchemaEdgeDescription when registering the operator's schema.

Fields

Name Type Description
allowedTypeCount uint32_t
allowedTypes MLOperatorEdgeDescription* The set of allowed types for the constraint.
typeLabel char* The label of the type for which the constraint is being defined. This is constructed as in ONNX operator schema. For example, "T".

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.