winrt-Windows.AI.MachineLearning.Preview 3.2.1__cp314-cp314-win_amd64.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.
- winrt/_winrt_windows_ai_machinelearning_preview.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ai_machinelearning_preview.pyi +272 -0
- winrt/windows/ai/machinelearning/preview/__init__.py +72 -0
- winrt/windows/ai/machinelearning/preview/py.typed +0 -0
- winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
16
|
+
import winrt.windows.storage as windows_storage
|
|
17
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
18
|
+
|
|
19
|
+
from winrt.windows.ai.machinelearning.preview import FeatureElementKindPreview, LearningModelDeviceKindPreview, LearningModelFeatureKindPreview
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class ImageVariableDescriptorPreview(winrt.system.Object, ILearningModelVariableDescriptorPreview):
|
|
25
|
+
# Windows.Graphics.Imaging.BitmapPixelFormat Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_BitmapPixelFormat()
|
|
26
|
+
@_property
|
|
27
|
+
def bitmap_pixel_format(self) -> windows_graphics_imaging.BitmapPixelFormat: ...
|
|
28
|
+
# System.UInt32 Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Height()
|
|
29
|
+
@_property
|
|
30
|
+
def height(self) -> winrt.system.UInt32: ...
|
|
31
|
+
# System.UInt32 Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Width()
|
|
32
|
+
@_property
|
|
33
|
+
def width(self) -> winrt.system.UInt32: ...
|
|
34
|
+
# System.String Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Description()
|
|
35
|
+
@_property
|
|
36
|
+
def description(self) -> str: ...
|
|
37
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_IsRequired()
|
|
38
|
+
@_property
|
|
39
|
+
def is_required(self) -> bool: ...
|
|
40
|
+
# Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_ModelFeatureKind()
|
|
41
|
+
@_property
|
|
42
|
+
def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
|
|
43
|
+
# System.String Windows.AI.MachineLearning.Preview.ImageVariableDescriptorPreview::get_Name()
|
|
44
|
+
@_property
|
|
45
|
+
def name(self) -> str: ...
|
|
46
|
+
|
|
47
|
+
@typing.final
|
|
48
|
+
class InferencingOptionsPreview(winrt.system.Object):
|
|
49
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_ReclaimMemoryAfterEvaluation()
|
|
50
|
+
@_property
|
|
51
|
+
def reclaim_memory_after_evaluation(self) -> bool: ...
|
|
52
|
+
# System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_ReclaimMemoryAfterEvaluation(System.Boolean)
|
|
53
|
+
@reclaim_memory_after_evaluation.setter
|
|
54
|
+
def reclaim_memory_after_evaluation(self, value: bool) -> None: ...
|
|
55
|
+
# Windows.AI.MachineLearning.Preview.LearningModelDeviceKindPreview Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_PreferredDeviceKind()
|
|
56
|
+
@_property
|
|
57
|
+
def preferred_device_kind(self) -> LearningModelDeviceKindPreview: ...
|
|
58
|
+
# System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_PreferredDeviceKind(Windows.AI.MachineLearning.Preview.LearningModelDeviceKindPreview)
|
|
59
|
+
@preferred_device_kind.setter
|
|
60
|
+
def preferred_device_kind(self, value: LearningModelDeviceKindPreview) -> None: ...
|
|
61
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_MinimizeMemoryAllocation()
|
|
62
|
+
@_property
|
|
63
|
+
def minimize_memory_allocation(self) -> bool: ...
|
|
64
|
+
# System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_MinimizeMemoryAllocation(System.Boolean)
|
|
65
|
+
@minimize_memory_allocation.setter
|
|
66
|
+
def minimize_memory_allocation(self, value: bool) -> None: ...
|
|
67
|
+
# System.Int32 Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_MaxBatchSize()
|
|
68
|
+
@_property
|
|
69
|
+
def max_batch_size(self) -> winrt.system.Int32: ...
|
|
70
|
+
# System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_MaxBatchSize(System.Int32)
|
|
71
|
+
@max_batch_size.setter
|
|
72
|
+
def max_batch_size(self, value: winrt.system.Int32) -> None: ...
|
|
73
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::get_IsTracingEnabled()
|
|
74
|
+
@_property
|
|
75
|
+
def is_tracing_enabled(self) -> bool: ...
|
|
76
|
+
# System.Void Windows.AI.MachineLearning.Preview.InferencingOptionsPreview::put_IsTracingEnabled(System.Boolean)
|
|
77
|
+
@is_tracing_enabled.setter
|
|
78
|
+
def is_tracing_enabled(self, value: bool) -> None: ...
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class LearningModelBindingPreview(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object]):
|
|
82
|
+
def __len__(self) -> int: ...
|
|
83
|
+
def __iter__(self) -> typing.Iterator[str]: ...
|
|
84
|
+
def __contains__(self, key: object) -> bool: ...
|
|
85
|
+
def __getitem__(self, key: str) -> winrt.system.Object: ...
|
|
86
|
+
def __new__(cls: typing.Type[Self], model: LearningModelPreview) -> Self: ...
|
|
87
|
+
# System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Bind(System.String,System.Object)
|
|
88
|
+
# @deprecated("Use ILearningModelBinding instead of ILearningModelBindingPreview. For more info, see MSDN.")
|
|
89
|
+
def bind(self, name: str, value: winrt.system.Object, /) -> None: ...
|
|
90
|
+
# System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Bind(System.String,System.Object,Windows.Foundation.Collections.IPropertySet)
|
|
91
|
+
# @deprecated("Use ILearningModelBinding instead of ILearningModelBindingPreview. For more info, see MSDN.")
|
|
92
|
+
def bind_with_properties(self, name: str, value: winrt.system.Object, metadata: windows_foundation_collections.IPropertySet, /) -> None: ...
|
|
93
|
+
# System.Void Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Clear()
|
|
94
|
+
# @deprecated("Use ILearningModelBinding instead of ILearningModelBindingPreview. For more info, see MSDN.")
|
|
95
|
+
def clear(self) -> None: ...
|
|
96
|
+
# Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>> Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::First()
|
|
97
|
+
def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]: ...
|
|
98
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::HasKey(System.String)
|
|
99
|
+
def has_key(self, key: str, /) -> bool: ...
|
|
100
|
+
# System.Object Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::Lookup(System.String)
|
|
101
|
+
def lookup(self, key: str, /) -> winrt.system.Object: ...
|
|
102
|
+
# 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>&)
|
|
103
|
+
def split(self) -> typing.Tuple[typing.Mapping[str, winrt.system.Object], typing.Mapping[str, winrt.system.Object]]: ...
|
|
104
|
+
# System.UInt32 Windows.AI.MachineLearning.Preview.LearningModelBindingPreview::get_Size()
|
|
105
|
+
@_property
|
|
106
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
107
|
+
|
|
108
|
+
@typing.final
|
|
109
|
+
class LearningModelDescriptionPreview(winrt.system.Object):
|
|
110
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Author()
|
|
111
|
+
@_property
|
|
112
|
+
def author(self) -> str: ...
|
|
113
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Description()
|
|
114
|
+
@_property
|
|
115
|
+
def description(self) -> str: ...
|
|
116
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Domain()
|
|
117
|
+
@_property
|
|
118
|
+
def domain(self) -> str: ...
|
|
119
|
+
# Windows.Foundation.Collections.IIterable`1<Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview> Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_InputFeatures()
|
|
120
|
+
@_property
|
|
121
|
+
def input_features(self) -> typing.Iterable[ILearningModelVariableDescriptorPreview]: ...
|
|
122
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,System.String> Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Metadata()
|
|
123
|
+
@_property
|
|
124
|
+
def metadata(self) -> typing.Mapping[str, str]: ...
|
|
125
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Name()
|
|
126
|
+
@_property
|
|
127
|
+
def name(self) -> str: ...
|
|
128
|
+
# Windows.Foundation.Collections.IIterable`1<Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview> Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_OutputFeatures()
|
|
129
|
+
@_property
|
|
130
|
+
def output_features(self) -> typing.Iterable[ILearningModelVariableDescriptorPreview]: ...
|
|
131
|
+
# System.Int64 Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview::get_Version()
|
|
132
|
+
@_property
|
|
133
|
+
def version(self) -> winrt.system.Int64: ...
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class LearningModelEvaluationResultPreview(winrt.system.Object):
|
|
137
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview::get_CorrelationId()
|
|
138
|
+
@_property
|
|
139
|
+
def correlation_id(self) -> str: ...
|
|
140
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview::get_Outputs()
|
|
141
|
+
@_property
|
|
142
|
+
def outputs(self) -> typing.Mapping[str, winrt.system.Object]: ...
|
|
143
|
+
|
|
144
|
+
@typing.final
|
|
145
|
+
class LearningModelPreview_Static(winrt._winrt.IInspectable_Static):
|
|
146
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::LoadModelFromStorageFileAsync(Windows.Storage.IStorageFile)
|
|
147
|
+
# @deprecated("Use ILearningModelStatics instead of ILearningModelPreviewStatics. For more info, see MSDN.")
|
|
148
|
+
def load_model_from_storage_file_async(cls, model_file: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[LearningModelPreview]: ...
|
|
149
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::LoadModelFromStreamAsync(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
150
|
+
# @deprecated("Use ILearningModelStatics instead of ILearningModelPreviewStatics. For more info, see MSDN.")
|
|
151
|
+
def load_model_from_stream_async(cls, model_stream: windows_storage_streams.IRandomAccessStreamReference, /) -> windows_foundation.IAsyncOperation[LearningModelPreview]: ...
|
|
152
|
+
|
|
153
|
+
@typing.final
|
|
154
|
+
class LearningModelPreview(winrt.system.Object, metaclass=LearningModelPreview_Static):
|
|
155
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.AI.MachineLearning.Preview.LearningModelEvaluationResultPreview> Windows.AI.MachineLearning.Preview.LearningModelPreview::EvaluateAsync(Windows.AI.MachineLearning.Preview.LearningModelBindingPreview,System.String)
|
|
156
|
+
# @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
|
|
157
|
+
def evaluate_async(self, binding: LearningModelBindingPreview, correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResultPreview]: ...
|
|
158
|
+
# 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)
|
|
159
|
+
# @deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.")
|
|
160
|
+
def evaluate_features_async(self, features: typing.MutableMapping[str, winrt.system.Object], correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResultPreview]: ...
|
|
161
|
+
# Windows.AI.MachineLearning.Preview.InferencingOptionsPreview Windows.AI.MachineLearning.Preview.LearningModelPreview::get_InferencingOptions()
|
|
162
|
+
@_property
|
|
163
|
+
def inferencing_options(self) -> InferencingOptionsPreview: ...
|
|
164
|
+
# System.Void Windows.AI.MachineLearning.Preview.LearningModelPreview::put_InferencingOptions(Windows.AI.MachineLearning.Preview.InferencingOptionsPreview)
|
|
165
|
+
@inferencing_options.setter
|
|
166
|
+
def inferencing_options(self, value: InferencingOptionsPreview) -> None: ...
|
|
167
|
+
# Windows.AI.MachineLearning.Preview.LearningModelDescriptionPreview Windows.AI.MachineLearning.Preview.LearningModelPreview::get_Description()
|
|
168
|
+
@_property
|
|
169
|
+
def description(self) -> LearningModelDescriptionPreview: ...
|
|
170
|
+
|
|
171
|
+
@typing.final
|
|
172
|
+
class LearningModelVariableDescriptorPreview(winrt.system.Object, ILearningModelVariableDescriptorPreview):
|
|
173
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_Description()
|
|
174
|
+
@_property
|
|
175
|
+
def description(self) -> str: ...
|
|
176
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_IsRequired()
|
|
177
|
+
@_property
|
|
178
|
+
def is_required(self) -> bool: ...
|
|
179
|
+
# Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_ModelFeatureKind()
|
|
180
|
+
@_property
|
|
181
|
+
def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
|
|
182
|
+
# System.String Windows.AI.MachineLearning.Preview.LearningModelVariableDescriptorPreview::get_Name()
|
|
183
|
+
@_property
|
|
184
|
+
def name(self) -> str: ...
|
|
185
|
+
|
|
186
|
+
@typing.final
|
|
187
|
+
class MapVariableDescriptorPreview(winrt.system.Object, ILearningModelVariableDescriptorPreview):
|
|
188
|
+
# System.String Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_Description()
|
|
189
|
+
@_property
|
|
190
|
+
def description(self) -> str: ...
|
|
191
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_IsRequired()
|
|
192
|
+
@_property
|
|
193
|
+
def is_required(self) -> bool: ...
|
|
194
|
+
# Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_ModelFeatureKind()
|
|
195
|
+
@_property
|
|
196
|
+
def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
|
|
197
|
+
# System.String Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_Name()
|
|
198
|
+
@_property
|
|
199
|
+
def name(self) -> str: ...
|
|
200
|
+
# Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_Fields()
|
|
201
|
+
@_property
|
|
202
|
+
def fields(self) -> ILearningModelVariableDescriptorPreview: ...
|
|
203
|
+
# Windows.AI.MachineLearning.Preview.FeatureElementKindPreview Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_KeyKind()
|
|
204
|
+
@_property
|
|
205
|
+
def key_kind(self) -> FeatureElementKindPreview: ...
|
|
206
|
+
# Windows.Foundation.Collections.IIterable`1<System.Int64> Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_ValidIntegerKeys()
|
|
207
|
+
@_property
|
|
208
|
+
def valid_integer_keys(self) -> typing.Iterable[winrt.system.Int64]: ...
|
|
209
|
+
# Windows.Foundation.Collections.IIterable`1<System.String> Windows.AI.MachineLearning.Preview.MapVariableDescriptorPreview::get_ValidStringKeys()
|
|
210
|
+
@_property
|
|
211
|
+
def valid_string_keys(self) -> typing.Iterable[str]: ...
|
|
212
|
+
|
|
213
|
+
@typing.final
|
|
214
|
+
class SequenceVariableDescriptorPreview(winrt.system.Object, ILearningModelVariableDescriptorPreview):
|
|
215
|
+
# System.String Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_Description()
|
|
216
|
+
@_property
|
|
217
|
+
def description(self) -> str: ...
|
|
218
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_IsRequired()
|
|
219
|
+
@_property
|
|
220
|
+
def is_required(self) -> bool: ...
|
|
221
|
+
# Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_ModelFeatureKind()
|
|
222
|
+
@_property
|
|
223
|
+
def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
|
|
224
|
+
# System.String Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_Name()
|
|
225
|
+
@_property
|
|
226
|
+
def name(self) -> str: ...
|
|
227
|
+
# Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview Windows.AI.MachineLearning.Preview.SequenceVariableDescriptorPreview::get_ElementType()
|
|
228
|
+
@_property
|
|
229
|
+
def element_type(self) -> ILearningModelVariableDescriptorPreview: ...
|
|
230
|
+
|
|
231
|
+
@typing.final
|
|
232
|
+
class TensorVariableDescriptorPreview(winrt.system.Object, ILearningModelVariableDescriptorPreview):
|
|
233
|
+
# System.String Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_Description()
|
|
234
|
+
@_property
|
|
235
|
+
def description(self) -> str: ...
|
|
236
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_IsRequired()
|
|
237
|
+
@_property
|
|
238
|
+
def is_required(self) -> bool: ...
|
|
239
|
+
# Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_ModelFeatureKind()
|
|
240
|
+
@_property
|
|
241
|
+
def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
|
|
242
|
+
# System.String Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_Name()
|
|
243
|
+
@_property
|
|
244
|
+
def name(self) -> str: ...
|
|
245
|
+
# Windows.AI.MachineLearning.Preview.FeatureElementKindPreview Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_DataType()
|
|
246
|
+
@_property
|
|
247
|
+
def data_type(self) -> FeatureElementKindPreview: ...
|
|
248
|
+
# Windows.Foundation.Collections.IIterable`1<System.Int64> Windows.AI.MachineLearning.Preview.TensorVariableDescriptorPreview::get_Shape()
|
|
249
|
+
@_property
|
|
250
|
+
def shape(self) -> typing.Iterable[winrt.system.Int64]: ...
|
|
251
|
+
|
|
252
|
+
@typing.final
|
|
253
|
+
class _ILearningModelVariableDescriptorPreview: ...
|
|
254
|
+
|
|
255
|
+
class ILearningModelVariableDescriptorPreview(winrt._winrt.IInspectable):
|
|
256
|
+
# System.String Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_Description()
|
|
257
|
+
@_property
|
|
258
|
+
@abstractmethod
|
|
259
|
+
def description(self) -> str: ...
|
|
260
|
+
# System.Boolean Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_IsRequired()
|
|
261
|
+
@_property
|
|
262
|
+
@abstractmethod
|
|
263
|
+
def is_required(self) -> bool: ...
|
|
264
|
+
# Windows.AI.MachineLearning.Preview.LearningModelFeatureKindPreview Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_ModelFeatureKind()
|
|
265
|
+
@_property
|
|
266
|
+
@abstractmethod
|
|
267
|
+
def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
|
|
268
|
+
# System.String Windows.AI.MachineLearning.Preview.ILearningModelVariableDescriptorPreview::get_Name()
|
|
269
|
+
@_property
|
|
270
|
+
@abstractmethod
|
|
271
|
+
def name(self) -> str: ...
|
|
272
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.runtime._internals
|
|
6
|
+
import winrt.system
|
|
7
|
+
from winrt._winrt_windows_ai_machinelearning_preview import (
|
|
8
|
+
ImageVariableDescriptorPreview,
|
|
9
|
+
InferencingOptionsPreview,
|
|
10
|
+
LearningModelBindingPreview,
|
|
11
|
+
LearningModelDescriptionPreview,
|
|
12
|
+
LearningModelEvaluationResultPreview,
|
|
13
|
+
LearningModelPreview,
|
|
14
|
+
LearningModelVariableDescriptorPreview,
|
|
15
|
+
MapVariableDescriptorPreview,
|
|
16
|
+
SequenceVariableDescriptorPreview,
|
|
17
|
+
TensorVariableDescriptorPreview,
|
|
18
|
+
_ILearningModelVariableDescriptorPreview,
|
|
19
|
+
ILearningModelVariableDescriptorPreview,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
"FeatureElementKindPreview",
|
|
24
|
+
"LearningModelDeviceKindPreview",
|
|
25
|
+
"LearningModelFeatureKindPreview",
|
|
26
|
+
"ImageVariableDescriptorPreview",
|
|
27
|
+
"InferencingOptionsPreview",
|
|
28
|
+
"LearningModelBindingPreview",
|
|
29
|
+
"LearningModelDescriptionPreview",
|
|
30
|
+
"LearningModelEvaluationResultPreview",
|
|
31
|
+
"LearningModelPreview",
|
|
32
|
+
"LearningModelVariableDescriptorPreview",
|
|
33
|
+
"MapVariableDescriptorPreview",
|
|
34
|
+
"SequenceVariableDescriptorPreview",
|
|
35
|
+
"TensorVariableDescriptorPreview",
|
|
36
|
+
"ILearningModelVariableDescriptorPreview",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
class FeatureElementKindPreview(enum.IntEnum):
|
|
40
|
+
UNDEFINED = 0
|
|
41
|
+
FLOAT = 1
|
|
42
|
+
UINT8 = 2
|
|
43
|
+
INT8 = 3
|
|
44
|
+
UINT16 = 4
|
|
45
|
+
INT16 = 5
|
|
46
|
+
INT32 = 6
|
|
47
|
+
INT64 = 7
|
|
48
|
+
STRING = 8
|
|
49
|
+
BOOLEAN = 9
|
|
50
|
+
FLOAT16 = 10
|
|
51
|
+
DOUBLE = 11
|
|
52
|
+
UINT32 = 12
|
|
53
|
+
UINT64 = 13
|
|
54
|
+
COMPLEX64 = 14
|
|
55
|
+
COMPLEX128 = 15
|
|
56
|
+
|
|
57
|
+
class LearningModelDeviceKindPreview(enum.IntEnum):
|
|
58
|
+
LEARNING_DEVICE_ANY = 0
|
|
59
|
+
LEARNING_DEVICE_CPU = 1
|
|
60
|
+
LEARNING_DEVICE_GPU = 2
|
|
61
|
+
LEARNING_DEVICE_NPU = 3
|
|
62
|
+
LEARNING_DEVICE_DSP = 4
|
|
63
|
+
LEARNING_DEVICE_FPGA = 5
|
|
64
|
+
|
|
65
|
+
class LearningModelFeatureKindPreview(enum.IntEnum):
|
|
66
|
+
UNDEFINED = 0
|
|
67
|
+
TENSOR = 1
|
|
68
|
+
SEQUENCE = 2
|
|
69
|
+
MAP = 3
|
|
70
|
+
IMAGE = 4
|
|
71
|
+
|
|
72
|
+
winrt.runtime._internals.mixin_mapping(LearningModelBindingPreview)
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.AI.MachineLearning.Preview
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.AI.MachineLearning.Preview
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.AI.MachineLearning.Preview` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ai.machinelearning.preview` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ai_machinelearning_preview.cp314-win_amd64.pyd,sha256=U9ZU7BzYHjkZosLvEx0-H21m4GutxmUlSUsXajFFUDw,240128
|
|
2
|
+
winrt/_winrt_windows_ai_machinelearning_preview.pyi,sha256=1GFgJKIsjbKbUrBkgiw4E6WvyvQvt58O6BgMU2kI-_s,18135
|
|
3
|
+
winrt/windows/ai/machinelearning/preview/__init__.py,sha256=zeCjoUjD2twfKZlqI73HZJIMarPRLFiFU_Tp4vsIyo0,1931
|
|
4
|
+
winrt/windows/ai/machinelearning/preview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/METADATA,sha256=q6dnznS22jEmkQcFMycoWaN19YyF8fwxBNlWtcQ2dPc,1397
|
|
6
|
+
winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ai_machinelearning_preview-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|