获取属于数值类型的特性元素的值。 对于属于数组类型的属性,此方法在指定索引处查询属性中的单个元素。
void GetAttribute(
_In_z_ const char* name,
MLOperatorAttributeType type,
uint32_t elementCount,
size_t elementByteSize,
_Out_writes_bytes_(elementCount * elementByteSize) void* value)
要求
| 要求 | |
|---|---|
| 支持的最低客户端 | Windows 10 版本 17763 |
| 支持的最低服务器 | 具有桌面体验的 Windows Server 2019 |
| 页眉 | MLOperatorAuthor.h |
注释
使用以下资源获取有关 Windows ML 的帮助:
- 若要询问或回答有关 Windows ML 的技术问题,请使用 Stack Overflow 上的 windows-machine-learning 标记。
- 若要报告 bug,请在 GitHub 上提出问题。