mirror of
https://github.com/marlersoft/win32json
synced 2026-06-21 13:57:33 +00:00
1484 lines
56 KiB
JSON
1484 lines
56 KiB
JSON
{
|
|
"Constants":[{
|
|
"Name":"WINML_TENSOR_DIMENSION_COUNT_MAX"
|
|
,"Type":{"Kind":"Native","Name":"UInt32"}
|
|
,"ValueType":"UInt32"
|
|
,"Value":4
|
|
,"Attrs":[]
|
|
}],
|
|
|
|
"Types":[{
|
|
"Name":"WINML_TENSOR_DATA_TYPE"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":false
|
|
,"Values":[
|
|
{"Name":"WINML_TENSOR_UNDEFINED","Value":0}
|
|
,{"Name":"WINML_TENSOR_FLOAT","Value":1}
|
|
,{"Name":"WINML_TENSOR_UINT8","Value":2}
|
|
,{"Name":"WINML_TENSOR_INT8","Value":3}
|
|
,{"Name":"WINML_TENSOR_UINT16","Value":4}
|
|
,{"Name":"WINML_TENSOR_INT16","Value":5}
|
|
,{"Name":"WINML_TENSOR_INT32","Value":6}
|
|
,{"Name":"WINML_TENSOR_INT64","Value":7}
|
|
,{"Name":"WINML_TENSOR_STRING","Value":8}
|
|
,{"Name":"WINML_TENSOR_BOOLEAN","Value":9}
|
|
,{"Name":"WINML_TENSOR_FLOAT16","Value":10}
|
|
,{"Name":"WINML_TENSOR_DOUBLE","Value":11}
|
|
,{"Name":"WINML_TENSOR_UINT32","Value":12}
|
|
,{"Name":"WINML_TENSOR_UINT64","Value":13}
|
|
,{"Name":"WINML_TENSOR_COMPLEX64","Value":14}
|
|
,{"Name":"WINML_TENSOR_COMPLEX128","Value":15}
|
|
]
|
|
,"IntegerBase":"Int32"
|
|
},{
|
|
"Name":"WINML_FEATURE_TYPE"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":false
|
|
,"Values":[
|
|
{"Name":"WINML_FEATURE_UNDEFINED","Value":0}
|
|
,{"Name":"WINML_FEATURE_TENSOR","Value":1}
|
|
,{"Name":"WINML_FEATURE_SEQUENCE","Value":2}
|
|
,{"Name":"WINML_FEATURE_MAP","Value":3}
|
|
,{"Name":"WINML_FEATURE_IMAGE","Value":4}
|
|
]
|
|
,"IntegerBase":"Int32"
|
|
},{
|
|
"Name":"WINML_BINDING_TYPE"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":false
|
|
,"Values":[
|
|
{"Name":"WINML_BINDING_UNDEFINED","Value":0}
|
|
,{"Name":"WINML_BINDING_TENSOR","Value":1}
|
|
,{"Name":"WINML_BINDING_SEQUENCE","Value":2}
|
|
,{"Name":"WINML_BINDING_MAP","Value":3}
|
|
,{"Name":"WINML_BINDING_IMAGE","Value":4}
|
|
,{"Name":"WINML_BINDING_RESOURCE","Value":5}
|
|
]
|
|
,"IntegerBase":"Int32"
|
|
},{
|
|
"Name":"WINML_TENSOR_BINDING_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"DataType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"NumDimensions","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pShape","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
,{"Name":"DataSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_SEQUENCE_BINDING_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"ElementType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"pStrings","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":[]}
|
|
,{"Name":"pInts","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
,{"Name":"pFloats","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Single"}},"Attrs":[]}
|
|
,{"Name":"pDoubles","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Double"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"WINML_MAP_BINDING_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"KeyType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous1","Type":{"Kind":"ApiRef","Name":"_Anonymous1_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Fields","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous2","Type":{"Kind":"ApiRef","Name":"_Anonymous2_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous2_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"pStringFields","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":[]}
|
|
,{"Name":"pIntFields","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
,{"Name":"pFloatFields","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Single"}},"Attrs":[]}
|
|
,{"Name":"pDoubleFields","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Double"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"_Anonymous1_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"pStringKeys","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":[]}
|
|
,{"Name":"pIntKeys","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"WINML_IMAGE_BINDING_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"NumDimensions","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pShape","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
,{"Name":"DataSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_RESOURCE_BINDING_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"NumDimensions","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pShape","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
,{"Name":"pResource","Type":{"Kind":"ApiRef","Name":"ID3D12Resource","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_BINDING_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"Name","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"BindType","Type":{"Kind":"ApiRef","Name":"WINML_BINDING_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"Tensor","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Sequence","Type":{"Kind":"ApiRef","Name":"WINML_SEQUENCE_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Map","Type":{"Kind":"ApiRef","Name":"WINML_MAP_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Image","Type":{"Kind":"ApiRef","Name":"WINML_IMAGE_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Resource","Type":{"Kind":"ApiRef","Name":"WINML_RESOURCE_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"WINML_TENSOR_VARIABLE_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"NumDimensions","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pShape","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_SEQUENCE_VARIABLE_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_MAP_VARIABLE_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"KeyType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Fields","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_IMAGE_VARIABLE_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"ElementType","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_DATA_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"NumDimensions","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"pShape","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"WINML_VARIABLE_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"Name","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Description","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"FeatureType","Type":{"Kind":"ApiRef","Name":"WINML_FEATURE_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Required","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"Tensor","Type":{"Kind":"ApiRef","Name":"WINML_TENSOR_VARIABLE_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Sequence","Type":{"Kind":"ApiRef","Name":"WINML_SEQUENCE_VARIABLE_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Map","Type":{"Kind":"ApiRef","Name":"WINML_MAP_VARIABLE_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Image","Type":{"Kind":"ApiRef","Name":"WINML_IMAGE_VARIABLE_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"WINML_MODEL_DESC"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"Author","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Name","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Domain","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Description","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Version","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"IWinMLModel"
|
|
,"Architectures":[]
|
|
,"Platform":"windows10.0.17134"
|
|
,"Kind":"Com"
|
|
,"Guid":"e2eeb6a9-f31f-4055-a521-e30b5b33664a"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"ppDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"WINML_MODEL_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"EnumerateMetadata"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"Index","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"pKey","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
|
|
,{"Name":"pValue","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"EnumerateModelInputs"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"Index","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"ppInputDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"WINML_VARIABLE_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"EnumerateModelOutputs"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"Index","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"ppOutputDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"WINML_VARIABLE_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}}},"Attrs":["Out"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IWinMLEvaluationContext"
|
|
,"Architectures":[]
|
|
,"Platform":"windows10.0.17134"
|
|
,"Kind":"Com"
|
|
,"Guid":"95848f9e-583d-4054-af12-916387cd8426"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"BindValue"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"pDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"WINML_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"GetValueByName"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"Name","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"pDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"WINML_BINDING_DESC","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"Clear"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IWinMLRuntime"
|
|
,"Architectures":[]
|
|
,"Platform":"windows10.0.17134"
|
|
,"Kind":"Com"
|
|
,"Guid":"a0425329-40ae-48d9-bce3-829ef7b8a41a"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"LoadModel"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"Path","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"ppModel","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IWinMLModel","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
},{
|
|
"Name":"CreateEvaluationContext"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"device","Type":{"Kind":"ApiRef","Name":"ID3D12Device","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In","Optional"]}
|
|
,{"Name":"ppContext","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IWinMLEvaluationContext","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
},{
|
|
"Name":"EvaluateModel"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"pContext","Type":{"Kind":"ApiRef","Name":"IWinMLEvaluationContext","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"WINML_RUNTIME_TYPE"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":false
|
|
,"Values":[
|
|
{"Name":"WINML_RUNTIME_CNTK","Value":0}
|
|
]
|
|
,"IntegerBase":"Int32"
|
|
},{
|
|
"Name":"IWinMLRuntimeFactory"
|
|
,"Architectures":[]
|
|
,"Platform":"windows10.0.17134"
|
|
,"Kind":"Com"
|
|
,"Guid":"a807b84d-4ae5-4bc0-a76a-941aa246bd41"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"CreateRuntime"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"RuntimeType","Type":{"Kind":"ApiRef","Name":"WINML_RUNTIME_TYPE","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
,{"Name":"ppRuntime","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IWinMLRuntime","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"MLOperatorAttributeType"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"Undefined","Value":0}
|
|
,{"Name":"Float","Value":2}
|
|
,{"Name":"Int","Value":3}
|
|
,{"Name":"String","Value":4}
|
|
,{"Name":"FloatArray","Value":7}
|
|
,{"Name":"IntArray","Value":8}
|
|
,{"Name":"StringArray","Value":9}
|
|
]
|
|
,"IntegerBase":"UInt32"
|
|
},{
|
|
"Name":"MLOperatorTensorDataType"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"Undefined","Value":0}
|
|
,{"Name":"Float","Value":1}
|
|
,{"Name":"UInt8","Value":2}
|
|
,{"Name":"Int8","Value":3}
|
|
,{"Name":"UInt16","Value":4}
|
|
,{"Name":"Int16","Value":5}
|
|
,{"Name":"Int32","Value":6}
|
|
,{"Name":"Int64","Value":7}
|
|
,{"Name":"String","Value":8}
|
|
,{"Name":"Bool","Value":9}
|
|
,{"Name":"Float16","Value":10}
|
|
,{"Name":"Double","Value":11}
|
|
,{"Name":"UInt32","Value":12}
|
|
,{"Name":"UInt64","Value":13}
|
|
,{"Name":"Complex64","Value":14}
|
|
,{"Name":"Complex128","Value":15}
|
|
]
|
|
,"IntegerBase":"UInt32"
|
|
},{
|
|
"Name":"MLOperatorEdgeType"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"Undefined","Value":0}
|
|
,{"Name":"Tensor","Value":1}
|
|
]
|
|
,"IntegerBase":"UInt32"
|
|
},{
|
|
"Name":"MLOperatorEdgeDescription"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"edgeType","Type":{"Kind":"ApiRef","Name":"MLOperatorEdgeType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"reserved","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
|
|
,{"Name":"tensorDataType","Type":{"Kind":"ApiRef","Name":"MLOperatorTensorDataType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorAttributes"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"4b1b1759-ec40-466c-aab4-beb5347fd24c"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetAttributeElementCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"type","Type":{"Kind":"ApiRef","Name":"MLOperatorAttributeType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
,{"Name":"elementCount","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetAttribute"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"type","Type":{"Kind":"ApiRef","Name":"MLOperatorAttributeType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
,{"Name":"elementCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"elementByteSize","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
|
|
,{"Name":"value","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetStringAttributeElementLength"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"elementIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"attributeElementByteSize","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetStringAttributeElement"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"elementIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"attributeElementByteSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"attributeElement","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"Native","Name":"Byte"}},"Attrs":["Out"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorTensorShapeDescription"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"f20e8cbe-3b28-4248-be95-f96fbc6e4643"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetInputTensorDimensionCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetInputTensorShape"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensions","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"HasOutputShapeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetOutputTensorDimensionCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetOutputTensorShape"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensions","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorKernelCreationContext"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"5459b53d-a0fc-4665-addd-70171ef7e631"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IMLOperatorAttributes","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetInputCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetOutputCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"IsInputValid"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"IsOutputValid"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"GetInputEdgeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"edgeDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetOutputEdgeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"edgeDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"HasTensorShapeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetTensorShapeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"shapeDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IMLOperatorTensorShapeDescription","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
},{
|
|
"Name":"GetExecutionInterface"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Void"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"executionObject","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorTensor"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"7fe41f41-f430-440e-aece-54416dc8b9db"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetDimensionCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetShape"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"dimensionCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensions","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":0,"Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetTensorDataType"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"MLOperatorTensorDataType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"IsCpuData"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"IsDataInterface"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetData"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetDataInterface"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Void"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"dataInterface","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorKernelContext"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"82536a28-f022-4769-9d3f-8b278f84c0c3"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetInputTensor"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"tensor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IMLOperatorTensor","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
|
|
]
|
|
},{
|
|
"Name":"GetOutputTensor"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionSizes","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Const"]}
|
|
,{"Name":"tensor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IMLOperatorTensor","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
|
|
]
|
|
},{
|
|
"Name":"GetOutputTensor"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"tensor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IMLOperatorTensor","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
|
|
]
|
|
},{
|
|
"Name":"AllocateTemporaryData"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"size","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
|
|
,{"Name":"data","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
},{
|
|
"Name":"GetExecutionInterface"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Void"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"executionObject","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}},"Attrs":["Out","Optional"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorKernel"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"11c4b4a0-b467-4eaa-a1a6-b961d8d0ed79"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"Compute"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"context","Type":{"Kind":"ApiRef","Name":"IMLOperatorKernelContext","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"MLOperatorParameterOptions"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":true
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"Single","Value":0}
|
|
,{"Name":"Optional","Value":1}
|
|
,{"Name":"Variadic","Value":2}
|
|
]
|
|
,"IntegerBase":"UInt32"
|
|
},{
|
|
"Name":"MLOperatorSchemaEdgeTypeFormat"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"EdgeDescription","Value":0}
|
|
,{"Name":"Label","Value":1}
|
|
]
|
|
,"IntegerBase":"Int32"
|
|
},{
|
|
"Name":"MLOperatorSchemaEdgeDescription"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"options","Type":{"Kind":"ApiRef","Name":"MLOperatorParameterOptions","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"typeFormat","Type":{"Kind":"ApiRef","Name":"MLOperatorSchemaEdgeTypeFormat","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"reserved","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Const"]}
|
|
,{"Name":"typeLabel","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"edgeDescription","Type":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"MLOperatorEdgeTypeConstraint"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"typeLabel","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"allowedTypes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"allowedTypeCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"IMLOperatorShapeInferenceContext"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"105b6b29-5408-4a68-9959-09b5955a3492"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IMLOperatorAttributes","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetInputCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetOutputCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"IsInputValid"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"IsOutputValid"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"GetInputEdgeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"edgeDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetInputTensorDimensionCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"GetInputTensorShape"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensions","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"SetOutputTensorShape"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensionCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"dimensions","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Const"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorTypeInferenceContext"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"ec893bb1-f938-427b-8488-c8dcf775f138"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IMLOperatorAttributes","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"GetInputCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"GetOutputCount"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"UInt32"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
]
|
|
},{
|
|
"Name":"IsInputValid"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"IsOutputValid"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"Native","Name":"Boolean"}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
]
|
|
},{
|
|
"Name":"GetInputEdgeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"inputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"edgeDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"SetOutputEdgeDescription"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"outputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"edgeDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["In","Const"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorTypeInferrer"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"781aeb48-9bcb-4797-bf77-8bf455217beb"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"InferOutputTypes"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"context","Type":{"Kind":"ApiRef","Name":"IMLOperatorTypeInferenceContext","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorShapeInferrer"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"540be5be-a6c9-40ee-83f6-d2b8b40a7798"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"InferOutputShapes"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"context","Type":{"Kind":"ApiRef","Name":"IMLOperatorShapeInferenceContext","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"MLOperatorAttribute"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"type","Type":{"Kind":"ApiRef","Name":"MLOperatorAttributeType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"required","Type":{"Kind":"Native","Name":"Byte"},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"MLOperatorAttributeNameValue"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"type","Type":{"Kind":"ApiRef","Name":"MLOperatorAttributeType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"valueCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[{
|
|
"Name":"_Anonymous_e__Union"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Union"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"reserved","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Const"]}
|
|
,{"Name":"ints","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int64"}},"Attrs":["Const"]}
|
|
,{"Name":"strings","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"SByte"}}},"Attrs":["Const"]}
|
|
,{"Name":"floats","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Single"}},"Attrs":["Const"]}
|
|
]
|
|
,"NestedTypes":[]
|
|
}]
|
|
},{
|
|
"Name":"MLOperatorSchemaDescription"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"operatorSetVersionAtLastChange","Type":{"Kind":"Native","Name":"Int32"},"Attrs":[]}
|
|
,{"Name":"inputs","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorSchemaEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"inputCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"outputs","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorSchemaEdgeDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"outputCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"typeConstraints","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeTypeConstraint","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"typeConstraintCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"attributes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorAttribute","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"attributeCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"defaultAttributes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorAttributeNameValue","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"defaultAttributeCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"MLOperatorSetId"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"domain","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"version","Type":{"Kind":"Native","Name":"Int32"},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"MLOperatorKernelOptions"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":true
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"None","Value":0}
|
|
,{"Name":"AllowDynamicInputShapes","Value":1}
|
|
]
|
|
,"IntegerBase":"UInt32"
|
|
},{
|
|
"Name":"MLOperatorExecutionType"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":true
|
|
,"Values":[
|
|
{"Name":"Undefined","Value":0}
|
|
,{"Name":"Cpu","Value":1}
|
|
,{"Name":"D3D12","Value":2}
|
|
]
|
|
,"IntegerBase":"UInt32"
|
|
},{
|
|
"Name":"MLOperatorKernelDescription"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Struct"
|
|
,"Size":0
|
|
,"PackingSize":0
|
|
,"Attrs":[]
|
|
,"Fields":[
|
|
{"Name":"domain","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"name","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
|
|
,{"Name":"minimumOperatorSetVersion","Type":{"Kind":"Native","Name":"Int32"},"Attrs":[]}
|
|
,{"Name":"executionType","Type":{"Kind":"ApiRef","Name":"MLOperatorExecutionType","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"typeConstraints","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorEdgeTypeConstraint","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"typeConstraintCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"defaultAttributes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorAttributeNameValue","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Const"]}
|
|
,{"Name":"defaultAttributeCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
,{"Name":"options","Type":{"Kind":"ApiRef","Name":"MLOperatorKernelOptions","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":[]}
|
|
,{"Name":"executionOptions","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
|
|
]
|
|
,"NestedTypes":[]
|
|
},{
|
|
"Name":"IMLOperatorKernelFactory"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"ef15ad6f-0dc9-4908-ab35-a575a30dfbf8"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"CreateKernel"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"context","Type":{"Kind":"ApiRef","Name":"IMLOperatorKernelCreationContext","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
,{"Name":"kernel","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IMLOperatorKernel","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
}]
|
|
},{
|
|
"Name":"IMLOperatorRegistry"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Com"
|
|
,"Guid":"2af9dd2d-b516-4672-9ab5-530c208493ad"
|
|
,"Attrs":[]
|
|
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
|
|
,"Methods":[{
|
|
"Name":"RegisterOperatorSetSchema"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"operatorSetId","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorSetId","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["In","Const"]}
|
|
,{"Name":"baselineVersion","Type":{"Kind":"Native","Name":"Int32"},"Attrs":["In"]}
|
|
,{"Name":"schema","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":3,"Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorSchemaDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}}},"Attrs":["In","Optional","Const"]}
|
|
,{"Name":"schemaCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"typeInferrer","Type":{"Kind":"ApiRef","Name":"IMLOperatorTypeInferrer","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In","Optional"]}
|
|
,{"Name":"shapeInferrer","Type":{"Kind":"ApiRef","Name":"IMLOperatorShapeInferrer","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In","Optional"]}
|
|
]
|
|
},{
|
|
"Name":"RegisterOperatorKernel"
|
|
,"SetLastError":false
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"operatorKernel","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"MLOperatorKernelDescription","TargetKind":"Default","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["In","Const"]}
|
|
,{"Name":"operatorKernelFactory","Type":{"Kind":"ApiRef","Name":"IMLOperatorKernelFactory","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In"]}
|
|
,{"Name":"shapeInferrer","Type":{"Kind":"ApiRef","Name":"IMLOperatorShapeInferrer","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]},"Attrs":["In","Optional"]}
|
|
]
|
|
}]
|
|
}],
|
|
|
|
"Functions":[{
|
|
"Name":"WinMLCreateRuntime"
|
|
,"SetLastError":false
|
|
,"DllImport":"winml.dll"
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"runtime","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IWinMLRuntime","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
},{
|
|
"Name":"MLCreateOperatorRegistry"
|
|
,"SetLastError":false
|
|
,"DllImport":"windows.ai.machinelearning.dll"
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"registry","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IMLOperatorRegistry","TargetKind":"Com","Api":"AI.MachineLearning.WinML","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
|
|
]
|
|
}],
|
|
|
|
"UnicodeAliases":[
|
|
]
|
|
}
|