@@ -224,7 +224,7 @@ impl ILearningModelDeviceFactory {
224
224
} }
225
225
}
226
226
RT_ENUM ! { enum LearningModelDeviceKind : i32 {
227
- Default ( LearningModelDeviceKind_Default ) = 0 , Cpu ( LearningModelDeviceKind_Cpu ) = 1 , DirectX ( LearningModelDeviceKind_DirectX ) = 2 , DirectXHighPerformance ( LearningModelDeviceKind_DirectXHighPerformance ) = 3 , DirectXMinPower ( LearningModelDeviceKind_DirectXMinPower ) = 4 ,
227
+ Default = 0 , Cpu = 1 , DirectX = 2 , DirectXHighPerformance = 3 , DirectXMinPower = 4 ,
228
228
} }
229
229
DEFINE_IID ! ( IID_ILearningModelDeviceStatics , 1240670471 , 43199 , 17083 , 146 , 199 , 16 , 177 , 45 , 197 , 210 , 31 ) ;
230
230
RT_INTERFACE ! { static interface ILearningModelDeviceStatics ( ILearningModelDeviceStaticsVtbl ) : IInspectable ( IInspectableVtbl ) [ IID_ILearningModelDeviceStatics ] {
@@ -297,7 +297,7 @@ impl ILearningModelFeatureDescriptor {
297
297
} }
298
298
}
299
299
RT_ENUM ! { enum LearningModelFeatureKind : i32 {
300
- Tensor ( LearningModelFeatureKind_Tensor ) = 0 , Sequence ( LearningModelFeatureKind_Sequence ) = 1 , Map ( LearningModelFeatureKind_Map ) = 2 , Image ( LearningModelFeatureKind_Image ) = 3 ,
300
+ Tensor = 0 , Sequence = 1 , Map = 2 , Image = 3 ,
301
301
} }
302
302
DEFINE_IID ! ( IID_ILearningModelFeatureValue , 4111467995 , 16517 , 19966 , 159 , 237 , 149 , 235 , 12 , 12 , 247 , 92 ) ;
303
303
RT_INTERFACE ! { interface ILearningModelFeatureValue ( ILearningModelFeatureValueVtbl ) : IInspectable ( IInspectableVtbl ) [ IID_ILearningModelFeatureValue ] {
@@ -964,7 +964,7 @@ impl ITensorInt8BitStatics {
964
964
} }
965
965
}
966
966
RT_ENUM ! { enum TensorKind : i32 {
967
- Undefined ( TensorKind_Undefined ) = 0 , Float ( TensorKind_Float ) = 1 , UInt8 ( TensorKind_UInt8 ) = 2 , Int8 ( TensorKind_Int8 ) = 3 , UInt16 ( TensorKind_UInt16 ) = 4 , Int16 ( TensorKind_Int16 ) = 5 , Int32 ( TensorKind_Int32 ) = 6 , Int64 ( TensorKind_Int64 ) = 7 , String ( TensorKind_String ) = 8 , Boolean ( TensorKind_Boolean ) = 9 , Float16 ( TensorKind_Float16 ) = 10 , Double ( TensorKind_Double ) = 11 , UInt32 ( TensorKind_UInt32 ) = 12 , UInt64 ( TensorKind_UInt64 ) = 13 , Complex64 ( TensorKind_Complex64 ) = 14 , Complex128 ( TensorKind_Complex128 ) = 15 ,
967
+ Undefined = 0 , Float = 1 , UInt8 = 2 , Int8 = 3 , UInt16 = 4 , Int16 = 5 , Int32 = 6 , Int64 = 7 , String = 8 , Boolean = 9 , Float16 = 10 , Double = 11 , UInt32 = 12 , UInt64 = 13 , Complex64 = 14 , Complex128 = 15 ,
968
968
} }
969
969
DEFINE_IID ! ( IID_ITensorString , 1478702536 , 48561 , 17936 , 188 , 117 , 53 , 233 , 203 , 240 , 9 , 183 ) ;
970
970
RT_INTERFACE ! { interface ITensorString ( ITensorStringVtbl ) : IInspectable ( IInspectableVtbl ) [ IID_ITensorString ] {
@@ -1254,7 +1254,7 @@ impl ITensorUInt8BitStatics {
1254
1254
pub mod preview { // Windows.AI.MachineLearning.Preview
1255
1255
use :: prelude:: * ;
1256
1256
RT_ENUM ! { enum FeatureElementKindPreview : i32 {
1257
- Undefined ( FeatureElementKindPreview_Undefined ) = 0 , Float ( FeatureElementKindPreview_Float ) = 1 , UInt8 ( FeatureElementKindPreview_UInt8 ) = 2 , Int8 ( FeatureElementKindPreview_Int8 ) = 3 , UInt16 ( FeatureElementKindPreview_UInt16 ) = 4 , Int16 ( FeatureElementKindPreview_Int16 ) = 5 , Int32 ( FeatureElementKindPreview_Int32 ) = 6 , Int64 ( FeatureElementKindPreview_Int64 ) = 7 , String ( FeatureElementKindPreview_String ) = 8 , Boolean ( FeatureElementKindPreview_Boolean ) = 9 , Float16 ( FeatureElementKindPreview_Float16 ) = 10 , Double ( FeatureElementKindPreview_Double ) = 11 , UInt32 ( FeatureElementKindPreview_UInt32 ) = 12 , UInt64 ( FeatureElementKindPreview_UInt64 ) = 13 , Complex64 ( FeatureElementKindPreview_Complex64 ) = 14 , Complex128 ( FeatureElementKindPreview_Complex128 ) = 15 ,
1257
+ Undefined = 0 , Float = 1 , UInt8 = 2 , Int8 = 3 , UInt16 = 4 , Int16 = 5 , Int32 = 6 , Int64 = 7 , String = 8 , Boolean = 9 , Float16 = 10 , Double = 11 , UInt32 = 12 , UInt64 = 13 , Complex64 = 14 , Complex128 = 15 ,
1258
1258
} }
1259
1259
DEFINE_IID ! ( IID_IImageVariableDescriptorPreview , 2061630066 , 670 , 19909 , 162 , 248 , 95 , 183 , 99 , 21 , 65 , 80 ) ;
1260
1260
RT_INTERFACE ! { interface IImageVariableDescriptorPreview ( IImageVariableDescriptorPreviewVtbl ) : IInspectable ( IInspectableVtbl ) [ IID_IImageVariableDescriptorPreview ] {
@@ -1436,7 +1436,7 @@ impl ILearningModelDescriptionPreview {
1436
1436
}
1437
1437
RT_CLASS ! { class LearningModelDescriptionPreview : ILearningModelDescriptionPreview }
1438
1438
RT_ENUM ! { enum LearningModelDeviceKindPreview : i32 {
1439
- LearningDeviceAny ( LearningModelDeviceKindPreview_LearningDeviceAny ) = 0 , LearningDeviceCpu ( LearningModelDeviceKindPreview_LearningDeviceCpu ) = 1 , LearningDeviceGpu ( LearningModelDeviceKindPreview_LearningDeviceGpu ) = 2 , LearningDeviceNpu ( LearningModelDeviceKindPreview_LearningDeviceNpu ) = 3 , LearningDeviceDsp ( LearningModelDeviceKindPreview_LearningDeviceDsp ) = 4 , LearningDeviceFpga ( LearningModelDeviceKindPreview_LearningDeviceFpga ) = 5 ,
1439
+ LearningDeviceAny = 0 , LearningDeviceCpu = 1 , LearningDeviceGpu = 2 , LearningDeviceNpu = 3 , LearningDeviceDsp = 4 , LearningDeviceFpga = 5 ,
1440
1440
} }
1441
1441
DEFINE_IID ! ( IID_ILearningModelEvaluationResultPreview , 3743804063 , 39011 , 16520 , 132 , 152 , 135 , 161 , 244 , 104 , 111 , 146 ) ;
1442
1442
RT_INTERFACE ! { interface ILearningModelEvaluationResultPreview ( ILearningModelEvaluationResultPreviewVtbl ) : IInspectable ( IInspectableVtbl ) [ IID_ILearningModelEvaluationResultPreview ] {
@@ -1457,7 +1457,7 @@ impl ILearningModelEvaluationResultPreview {
1457
1457
}
1458
1458
RT_CLASS ! { class LearningModelEvaluationResultPreview : ILearningModelEvaluationResultPreview }
1459
1459
RT_ENUM ! { enum LearningModelFeatureKindPreview : i32 {
1460
- Undefined ( LearningModelFeatureKindPreview_Undefined ) = 0 , Tensor ( LearningModelFeatureKindPreview_Tensor ) = 1 , Sequence ( LearningModelFeatureKindPreview_Sequence ) = 2 , Map ( LearningModelFeatureKindPreview_Map ) = 3 , Image ( LearningModelFeatureKindPreview_Image ) = 4 ,
1460
+ Undefined = 0 , Tensor = 1 , Sequence = 2 , Map = 3 , Image = 4 ,
1461
1461
} }
1462
1462
DEFINE_IID ! ( IID_ILearningModelPreview , 77342314 , 37812 , 18316 , 174 , 184 , 112 , 21 , 123 , 240 , 255 , 148 ) ;
1463
1463
RT_INTERFACE ! { interface ILearningModelPreview ( ILearningModelPreviewVtbl ) : IInspectable ( IInspectableVtbl ) [ IID_ILearningModelPreview ] {
0 commit comments