winrt-Windows.AI.MachineLearning.Preview 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "FeatureElementKindPreview",
10
+ "LearningModelDeviceKindPreview",
11
+ "LearningModelFeatureKindPreview",
12
+ "ImageVariableDescriptorPreview",
13
+ "InferencingOptionsPreview",
14
+ "LearningModelBindingPreview",
15
+ "LearningModelDescriptionPreview",
16
+ "LearningModelEvaluationResultPreview",
17
+ "LearningModelPreview",
18
+ "LearningModelVariableDescriptorPreview",
19
+ "MapVariableDescriptorPreview",
20
+ "SequenceVariableDescriptorPreview",
21
+ "TensorVariableDescriptorPreview",
22
+ "ILearningModelVariableDescriptorPreview",
23
+ ]
24
+
25
+ winrt.runtime._internals.mixin_mapping(LearningModelBindingPreview)
26
+ winrt.runtime._internals.alias_method(LearningModelBindingPreview, "bind_with_properties", "bind")
@@ -0,0 +1,409 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from abc import abstractmethod
8
+ from typing_extensions import deprecated
9
+
10
+ import winrt.system
11
+ import winrt.windows.foundation as windows_foundation
12
+ import winrt.windows.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.graphics.imaging as windows_graphics_imaging
14
+ import winrt.windows.storage as windows_storage
15
+ import winrt.windows.storage.streams as windows_storage_streams
16
+
17
+ __all__ = [
18
+ "FeatureElementKindPreview",
19
+ "LearningModelDeviceKindPreview",
20
+ "LearningModelFeatureKindPreview",
21
+ "ImageVariableDescriptorPreview",
22
+ "InferencingOptionsPreview",
23
+ "LearningModelBindingPreview",
24
+ "LearningModelDescriptionPreview",
25
+ "LearningModelEvaluationResultPreview",
26
+ "LearningModelPreview",
27
+ "LearningModelVariableDescriptorPreview",
28
+ "MapVariableDescriptorPreview",
29
+ "SequenceVariableDescriptorPreview",
30
+ "TensorVariableDescriptorPreview",
31
+ "ILearningModelVariableDescriptorPreview",
32
+ ]
33
+
34
+ @deprecated("Use TensorKind instead of FeatureElementKindPreview. For more info, see MSDN.")
35
+ class FeatureElementKindPreview(enum.IntEnum):
36
+ UNDEFINED = 0
37
+ FLOAT = 1
38
+ UINT8 = 2
39
+ INT8 = 3
40
+ UINT16 = 4
41
+ INT16 = 5
42
+ INT32 = 6
43
+ INT64 = 7
44
+ STRING = 8
45
+ BOOLEAN = 9
46
+ FLOAT16 = 10
47
+ DOUBLE = 11
48
+ UINT32 = 12
49
+ UINT64 = 13
50
+ COMPLEX64 = 14
51
+ COMPLEX128 = 15
52
+
53
+ @deprecated("Use LearningModelDeviceKind instead of LearningModelDeviceKindPreview. For more info, see MSDN.")
54
+ class LearningModelDeviceKindPreview(enum.IntEnum):
55
+ LEARNING_DEVICE_ANY = 0
56
+ LEARNING_DEVICE_CPU = 1
57
+ LEARNING_DEVICE_GPU = 2
58
+ LEARNING_DEVICE_NPU = 3
59
+ LEARNING_DEVICE_DSP = 4
60
+ LEARNING_DEVICE_FPGA = 5
61
+
62
+ @deprecated("Use LearningModelFeatureKind instead of LearningModelFeatureKindPreview. For more info, see MSDN.")
63
+ class LearningModelFeatureKindPreview(enum.IntEnum):
64
+ UNDEFINED = 0
65
+ TENSOR = 1
66
+ SEQUENCE = 2
67
+ MAP = 3
68
+ IMAGE = 4
69
+
70
+ @typing.final
71
+ @deprecated("Use ImageFeatureDescriptor instead of ImageVariableDescriptorPreview. For more info, see MSDN.")
72
+ class ImageVariableDescriptorPreview(ILearningModelVariableDescriptorPreview, winrt.system.Object):
73
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
74
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
75
+ # Windows.Graphics.Imaging.BitmapPixelFormat Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_BitmapPixelFormat()
76
+ @_property
77
+ @deprecated("Use IImageFeatureDescriptor instead of IImageVariableDescriptorPreview. For more info, see MSDN.")
78
+ def bitmap_pixel_format(self) -> windows_graphics_imaging.BitmapPixelFormat: ...
79
+ # System.UInt32 Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Height()
80
+ @_property
81
+ @deprecated("Use IImageFeatureDescriptor instead of IImageVariableDescriptorPreview. For more info, see MSDN.")
82
+ def height(self) -> winrt.system.UInt32: ...
83
+ # System.UInt32 Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Width()
84
+ @_property
85
+ @deprecated("Use IImageFeatureDescriptor instead of IImageVariableDescriptorPreview. For more info, see MSDN.")
86
+ def width(self) -> winrt.system.UInt32: ...
87
+ # System.String Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Description()
88
+ @_property
89
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
90
+ def description(self) -> str: ...
91
+ # System.Boolean Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_IsRequired()
92
+ @_property
93
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
94
+ def is_required(self) -> bool: ...
95
+ # Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_ModelFeatureKind()
96
+ @_property
97
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
98
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
99
+ # System.String Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Name()
100
+ @_property
101
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
102
+ def name(self) -> str: ...
103
+
104
+ @typing.final
105
+ @deprecated("Use LearningModelSession instead of InferencingOptionsPreview. For more info, see MSDN.")
106
+ class InferencingOptionsPreview(winrt.system.Object):
107
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
108
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
109
+ # System.Boolean Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_ReclaimMemoryAfterEvaluation()
110
+ @_property
111
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
112
+ def reclaim_memory_after_evaluation(self) -> bool: ...
113
+ # System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_ReclaimMemoryAfterEvaluation(System.Boolean)
114
+ @reclaim_memory_after_evaluation.setter
115
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
116
+ def reclaim_memory_after_evaluation(self, value: bool) -> None: ...
117
+ # Windows.AI.MachineLearning.Preview.LearningModelDeviceKindPreview Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_PreferredDeviceKind()
118
+ @_property
119
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
120
+ def preferred_device_kind(self) -> LearningModelDeviceKindPreview: ...
121
+ # System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_PreferredDeviceKind(Windows.AI.MachineLearning.Preview.LearningModelDeviceKindPreview)
122
+ @preferred_device_kind.setter
123
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
124
+ def preferred_device_kind(self, value: LearningModelDeviceKindPreview) -> None: ...
125
+ # System.Boolean Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_MinimizeMemoryAllocation()
126
+ @_property
127
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
128
+ def minimize_memory_allocation(self) -> bool: ...
129
+ # System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_MinimizeMemoryAllocation(System.Boolean)
130
+ @minimize_memory_allocation.setter
131
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
132
+ def minimize_memory_allocation(self, value: bool) -> None: ...
133
+ # System.Int32 Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_MaxBatchSize()
134
+ @_property
135
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
136
+ def max_batch_size(self) -> winrt.system.Int32: ...
137
+ # System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_MaxBatchSize(System.Int32)
138
+ @max_batch_size.setter
139
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
140
+ def max_batch_size(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
141
+ # System.Boolean Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_IsTracingEnabled()
142
+ @_property
143
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
144
+ def is_tracing_enabled(self) -> bool: ...
145
+ # System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_IsTracingEnabled(System.Boolean)
146
+ @is_tracing_enabled.setter
147
+ @deprecated("Use LearningModel instead of IInferencingOptionsPreview. For more info, see MSDN.")
148
+ def is_tracing_enabled(self, value: bool) -> None: ...
149
+
150
+ @typing.final
151
+ @deprecated("Use LearningModelBinding instead of LearningModelBindingPreview. For more info, see MSDN.")
152
+ class LearningModelBindingPreview(_cabc.Mapping[str, winrt.system.Object], winrt.system.Object):
153
+ __hash__: typing.ClassVar[None] # type: ignore[assignment]
154
+ def __len__(self) -> int: ...
155
+ def __iter__(self) -> _cabc.Iterator[str]: ...
156
+ def __contains__(self, key: object) -> bool: ...
157
+ def __getitem__(self, key: str) -> winrt.system.Object: ...
158
+ def __new__(cls, model: LearningModelPreview, /) -> typing.Self: ...
159
+ @typing.overload
160
+ # System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Bind(System.String,System.Object)
161
+ @deprecated("Use ILearningModelBinding instead of ILearningModelBindingPreview. For more info, see MSDN.")
162
+ def bind(self, name: str, value: winrt.system.Object, /) -> None: ...
163
+ @typing.overload
164
+ # System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Bind(System.String,System.Object,Windows.Foundation.Collections.IPropertySet)
165
+ @deprecated("Use ILearningModelBinding instead of ILearningModelBindingPreview. For more info, see MSDN.")
166
+ def bind(self, name: str, value: winrt.system.Object, metadata: windows_foundation_collections.IPropertySet, /) -> None: ...
167
+ # Deprecated alias of bind() for pywinrt v3.x compatibility.
168
+ # System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Bind(System.String,System.Object,Windows.Foundation.Collections.IPropertySet)
169
+ @deprecated("Use bind() instead.")
170
+ def bind_with_properties(self, name: str, value: winrt.system.Object, metadata: windows_foundation_collections.IPropertySet, /) -> None: ...
171
+ # System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Clear()
172
+ @deprecated("Use ILearningModelBinding instead of ILearningModelBindingPreview. For more info, see MSDN.")
173
+ def clear(self) -> None: ...
174
+ # Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>> Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::First()
175
+ def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]: ...
176
+ # System.Boolean Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::HasKey(System.String)
177
+ def has_key(self, key: str, /) -> bool: ...
178
+ # System.Object Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Lookup(System.String)
179
+ def lookup(self, key: str, /) -> winrt.system.Object: ...
180
+ # System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Split(Windows.Foundation.Collections.IMapView`2<System.String,System.Object>&,Windows.Foundation.Collections.IMapView`2<System.String,System.Object>&)
181
+ def split(self) -> tuple[_cabc.Mapping[str, winrt.system.Object], _cabc.Mapping[str, winrt.system.Object]]: ...
182
+ # System.UInt32 Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::get_Size()
183
+ @_property
184
+ def size(self) -> winrt.system.UInt32: ...
185
+
186
+ @typing.final
187
+ @deprecated("Use LearningModel instead of LearningModelDescriptionPreview. For more info, see MSDN.")
188
+ class LearningModelDescriptionPreview(winrt.system.Object):
189
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
190
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
191
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Author()
192
+ @_property
193
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
194
+ def author(self) -> str: ...
195
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Description()
196
+ @_property
197
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
198
+ def description(self) -> str: ...
199
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Domain()
200
+ @_property
201
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
202
+ def domain(self) -> str: ...
203
+ # Windows.Foundation.Collections.IIterable`1<Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview> Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_InputFeatures()
204
+ @_property
205
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
206
+ def input_features(self) -> _cabc.Iterable[ILearningModelVariableDescriptorPreview]: ...
207
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.String> Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Metadata()
208
+ @_property
209
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
210
+ def metadata(self) -> _cabc.Mapping[str, str]: ...
211
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Name()
212
+ @_property
213
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
214
+ def name(self) -> str: ...
215
+ # Windows.Foundation.Collections.IIterable`1<Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview> Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_OutputFeatures()
216
+ @_property
217
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
218
+ def output_features(self) -> _cabc.Iterable[ILearningModelVariableDescriptorPreview]: ...
219
+ # System.Int64 Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Version()
220
+ @_property
221
+ @deprecated("Use ILearningModel instead of ILearningModelDescriptionPreview. For more info, see MSDN.")
222
+ def version(self) -> winrt.system.Int64: ...
223
+
224
+ @typing.final
225
+ @deprecated("Use LearningModelEvaluationResult instead of LearningModelEvaluationResultPreview. For more info, see MSDN.")
226
+ class LearningModelEvaluationResultPreview(winrt.system.Object):
227
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
228
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
229
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview::get_CorrelationId()
230
+ @_property
231
+ @deprecated("Use ILearningModelEvaluationResult instead of ILearningModelEvaluationResultPreview. For more info, see MSDN.")
232
+ def correlation_id(self) -> str: ...
233
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview::get_Outputs()
234
+ @_property
235
+ @deprecated("Use ILearningModelEvaluationResult instead of ILearningModelEvaluationResultPreview. For more info, see MSDN.")
236
+ def outputs(self) -> _cabc.Mapping[str, winrt.system.Object]: ...
237
+
238
+ @typing.final
239
+ class LearningModelPreview_Static(winrt.system.Object_Static):
240
+ # Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::LoadModelFromStorageFileAsync(Windows.Storage.IStorageFile)
241
+ @deprecated("Use ILearningModelStatics instead of ILearningModelPreviewStatics. For more info, see MSDN.")
242
+ def load_model_from_storage_file_async(cls, model_file: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[LearningModelPreview]: ...
243
+ # Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::LoadModelFromStreamAsync(Windows.Storage.Streams.IRandomAccessStreamReference)
244
+ @deprecated("Use ILearningModelStatics instead of ILearningModelPreviewStatics. For more info, see MSDN.")
245
+ def load_model_from_stream_async(cls, model_stream: windows_storage_streams.IRandomAccessStreamReference, /) -> windows_foundation.IAsyncOperation[LearningModelPreview]: ...
246
+
247
+ @typing.final
248
+ @deprecated("Use LearningModel instead of LearningModelPreview. For more info, see MSDN.")
249
+ class LearningModelPreview(winrt.system.Object, metaclass=LearningModelPreview_Static):
250
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
251
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
252
+ # Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::EvaluateAsync(Windows.AI.MachineLearning.Preview.LearningModelBindingPreview,System.String)
253
+ @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
254
+ def evaluate_async(self, binding: LearningModelBindingPreview, correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResultPreview]: ...
255
+ # Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::EvaluateFeaturesAsync(Windows.Foundation.Collections.IMap`2<System.String,System.Object>,System.String)
256
+ @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
257
+ def evaluate_features_async(self, features: _cabc.MutableMapping[str, winrt.system.Object], correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResultPreview]: ...
258
+ # Windows.AI.MachineLearning.Preview.InferencingOptionsPreview Windows.AI.MachineLearning.Preview.LearningModelPreview::get_InferencingOptions()
259
+ @_property
260
+ @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
261
+ def inferencing_options(self) -> InferencingOptionsPreview: ...
262
+ # System.Void Windows.AI.MachineLearning.Preview.LearningModelPreview::put_InferencingOptions(Windows.AI.MachineLearning.Preview.InferencingOptionsPreview)
263
+ @inferencing_options.setter
264
+ @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
265
+ def inferencing_options(self, value: InferencingOptionsPreview) -> None: ...
266
+ # Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview Windows.AI.MachineLearning.Preview.LearningModelPreview::get_Description()
267
+ @_property
268
+ @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
269
+ def description(self) -> LearningModelDescriptionPreview: ...
270
+
271
+ @typing.final
272
+ @deprecated("Use ILearningModelFeatureDescriptor instead of LearningModelVariableDescriptorPreview. For more info, see MSDN.")
273
+ class LearningModelVariableDescriptorPreview(ILearningModelVariableDescriptorPreview, winrt.system.Object):
274
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
275
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
276
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_Description()
277
+ @_property
278
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
279
+ def description(self) -> str: ...
280
+ # System.Boolean Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_IsRequired()
281
+ @_property
282
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
283
+ def is_required(self) -> bool: ...
284
+ # Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_ModelFeatureKind()
285
+ @_property
286
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
287
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
288
+ # System.String Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_Name()
289
+ @_property
290
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
291
+ def name(self) -> str: ...
292
+
293
+ @typing.final
294
+ @deprecated("Use MapFeatureDescriptor instead of MapVariableDescriptorPreview. For more info, see MSDN.")
295
+ class MapVariableDescriptorPreview(ILearningModelVariableDescriptorPreview, winrt.system.Object):
296
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
297
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
298
+ # System.String Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_Description()
299
+ @_property
300
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
301
+ def description(self) -> str: ...
302
+ # System.Boolean Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_IsRequired()
303
+ @_property
304
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
305
+ def is_required(self) -> bool: ...
306
+ # Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_ModelFeatureKind()
307
+ @_property
308
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
309
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
310
+ # System.String Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_Name()
311
+ @_property
312
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
313
+ def name(self) -> str: ...
314
+ # Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_Fields()
315
+ @_property
316
+ @deprecated("Use IMapFeatureDescriptor instead of IMapVariableDescriptorPreview. For more info, see MSDN.")
317
+ def fields(self) -> ILearningModelVariableDescriptorPreview: ...
318
+ # Windows.AI.MachineLearning.Preview.FeatureElementKindPreview Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_KeyKind()
319
+ @_property
320
+ @deprecated("Use IMapFeatureDescriptor instead of IMapVariableDescriptorPreview. For more info, see MSDN.")
321
+ def key_kind(self) -> FeatureElementKindPreview: ...
322
+ # Windows.Foundation.Collections.IIterable`1<System.Int64> Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_ValidIntegerKeys()
323
+ @_property
324
+ @deprecated("Use IMapFeatureDescriptor instead of IMapVariableDescriptorPreview. For more info, see MSDN.")
325
+ def valid_integer_keys(self) -> _cabc.Iterable[winrt.system.Int64]: ...
326
+ # Windows.Foundation.Collections.IIterable`1<System.String> Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_ValidStringKeys()
327
+ @_property
328
+ @deprecated("Use IMapFeatureDescriptor instead of IMapVariableDescriptorPreview. For more info, see MSDN.")
329
+ def valid_string_keys(self) -> _cabc.Iterable[str]: ...
330
+
331
+ @typing.final
332
+ @deprecated("Use SequenceFeatureDescriptor instead of SequenceVariableDescriptorPreview. For more info, see MSDN.")
333
+ class SequenceVariableDescriptorPreview(ILearningModelVariableDescriptorPreview, winrt.system.Object):
334
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
335
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
336
+ # System.String Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_Description()
337
+ @_property
338
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
339
+ def description(self) -> str: ...
340
+ # System.Boolean Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_IsRequired()
341
+ @_property
342
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
343
+ def is_required(self) -> bool: ...
344
+ # Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_ModelFeatureKind()
345
+ @_property
346
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
347
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
348
+ # System.String Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_Name()
349
+ @_property
350
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
351
+ def name(self) -> str: ...
352
+ # Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_ElementType()
353
+ @_property
354
+ @deprecated("Use ISequenceFeatureDescriptor instead of ISequenceVariableDescriptorPreview. For more info, see MSDN.")
355
+ def element_type(self) -> ILearningModelVariableDescriptorPreview: ...
356
+
357
+ @typing.final
358
+ @deprecated("Use TensorFeatureDescriptor instead of TensorVariableDescriptorPreview. For more info, see MSDN.")
359
+ class TensorVariableDescriptorPreview(ILearningModelVariableDescriptorPreview, winrt.system.Object):
360
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
361
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
362
+ # System.String Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_Description()
363
+ @_property
364
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
365
+ def description(self) -> str: ...
366
+ # System.Boolean Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_IsRequired()
367
+ @_property
368
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
369
+ def is_required(self) -> bool: ...
370
+ # Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_ModelFeatureKind()
371
+ @_property
372
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
373
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
374
+ # System.String Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_Name()
375
+ @_property
376
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
377
+ def name(self) -> str: ...
378
+ # Windows.AI.MachineLearning.Preview.FeatureElementKindPreview Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_DataType()
379
+ @_property
380
+ @deprecated("Use ITensorFeatureDescriptor instead of ITensorVariableDescriptorPreview. For more info, see MSDN.")
381
+ def data_type(self) -> FeatureElementKindPreview: ...
382
+ # Windows.Foundation.Collections.IIterable`1<System.Int64> Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_Shape()
383
+ @_property
384
+ @deprecated("Use ITensorFeatureDescriptor instead of ITensorVariableDescriptorPreview. For more info, see MSDN.")
385
+ def shape(self) -> _cabc.Iterable[winrt.system.Int64]: ...
386
+
387
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
388
+ class ILearningModelVariableDescriptorPreview(winrt.system.Object):
389
+ # System.String Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_Description()
390
+ @_property
391
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
392
+ @abstractmethod
393
+ def description(self) -> str: ...
394
+ # System.Boolean Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_IsRequired()
395
+ @_property
396
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
397
+ @abstractmethod
398
+ def is_required(self) -> bool: ...
399
+ # Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_ModelFeatureKind()
400
+ @_property
401
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
402
+ @abstractmethod
403
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
404
+ # System.String Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_Name()
405
+ @_property
406
+ @deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.")
407
+ @abstractmethod
408
+ def name(self) -> str: ...
409
+
File without changes
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.AI.MachineLearning.Preview
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.AI.MachineLearning.Preview namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-graphics-imaging[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Description-Content-Type: text/markdown
33
+
34
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
35
+
36
+ # winrt-Windows.AI.MachineLearning.Preview
37
+
38
+ Windows Runtime (WinRT) APIs for the `Windows.AI.MachineLearning.Preview` namespace.
39
+
40
+ This package provides the `winrt.windows.ai.machinelearning.preview` module.
41
+
42
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
43
+ `Microsoft.Windows.SDK.CPP` NuGet package.
44
+
45
+ ```
46
+ pip install winrt-Windows.AI.MachineLearning.Preview
47
+ ```
48
+
49
+ Other WinRT namespaces are packages of their own, so install the package of
50
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ai/machinelearning/preview/__init__.py,sha256=Pk5FvTweKPrh77Irxz34Iv7YU7inV2ERn0WSTc_U8pk,897
2
+ winrt/windows/ai/machinelearning/preview/__init__.pyi,sha256=AuF0V_7sx-OF32dzl6qK6ukunnHaEsSmlY8vNRiECQk,29386
3
+ winrt/windows/ai/machinelearning/preview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ai/machinelearning/preview/_table.pywinrt,sha256=hpQo8zRut4F2jjkF7VR5QwOlvRN1uQ_8twH-Ir3wPwE,25576
5
+ winrt_windows_ai_machinelearning_preview-4!10.0.28000.2705.dist-info/METADATA,sha256=sFThESggMKlybWJWmRZopehU8C7dS4BK7BeNzs7-F40,2325
6
+ winrt_windows_ai_machinelearning_preview-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ai_machinelearning_preview-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ai_machinelearning_preview-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE