IMLOperatorAttributes interface

Represents the values of an operator's attributes, as determined by a model using the operator. This interface is called by implementations of custom operator kernels, and by implementations of shape and type inferrers.

Methods

Name Description
GetAttribute Gets the value of an attribute element which is of a numeric type.
GetAttributeElementCount Gets the count of elements in an attribute.
GetStringAttributeElement Gets the value of an attribute element which is of a string type.
GetStringAttributeElementLength Gets the length of an attribute element which is of a string type.

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.