Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
Specifies the name and value(s) of an attribute of a custom operator. This is used when registering custom operator kernels and custom operator schema.
Fields
| Name | Type | Description |
|---|---|---|
| floats | const float* | 32-bit floating point value(s). Used when the type field is MLOperatorAttributeType::Float or MLOperatorAttributeType::FloatArray. |
| ints | const int64_t* | 64-bit integer value(s). Used when the type field is MLOperatorAttributeType::Int or MLOperatorAttributeType::IntArray. |
| name | const char* | NULL-terminated UTF-8 string representing the name of the attribute in the associated operator type. |
| reserved | const void* | |
| strings | const char* const* | NULL-terminated UTF-8 string value(s). Used when the type field is MLOperatorAttributeType::String or MLOperatorAttributeType::StringArray. |
| type | MLOperatorAttributeType | The type of the attribute in the associated operator type. |
| valueCount | uint32_t | The number of elements in the attribute value. This must be 1, except for attributes which are of array types. |
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.