winrt-Windows.AI.MachineLearning.Preview 2.2.0__cp313-cp313-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.
@@ -0,0 +1,213 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.graphics.imaging as windows_graphics_imaging
15
+ import winrt.windows.storage as windows_storage
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+
18
+ from winrt.windows.ai.machinelearning.preview import FeatureElementKindPreview, LearningModelDeviceKindPreview, LearningModelFeatureKindPreview
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class ImageVariableDescriptorPreview(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> ImageVariableDescriptorPreview: ...
26
+ @_property
27
+ def bitmap_pixel_format(self) -> windows_graphics_imaging.BitmapPixelFormat: ...
28
+ @_property
29
+ def height(self) -> winrt.system.UInt32: ...
30
+ @_property
31
+ def width(self) -> winrt.system.UInt32: ...
32
+ @_property
33
+ def description(self) -> str: ...
34
+ @_property
35
+ def is_required(self) -> bool: ...
36
+ @_property
37
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
38
+ @_property
39
+ def name(self) -> str: ...
40
+
41
+ @typing.final
42
+ class InferencingOptionsPreview(winrt.system.Object):
43
+ @staticmethod
44
+ def _from(obj: winrt.system.Object, /) -> InferencingOptionsPreview: ...
45
+ @_property
46
+ def reclaim_memory_after_evaluation(self) -> bool: ...
47
+ @reclaim_memory_after_evaluation.setter
48
+ def reclaim_memory_after_evaluation(self, value: bool) -> None: ...
49
+ @_property
50
+ def preferred_device_kind(self) -> LearningModelDeviceKindPreview: ...
51
+ @preferred_device_kind.setter
52
+ def preferred_device_kind(self, value: LearningModelDeviceKindPreview) -> None: ...
53
+ @_property
54
+ def minimize_memory_allocation(self) -> bool: ...
55
+ @minimize_memory_allocation.setter
56
+ def minimize_memory_allocation(self, value: bool) -> None: ...
57
+ @_property
58
+ def max_batch_size(self) -> winrt.system.Int32: ...
59
+ @max_batch_size.setter
60
+ def max_batch_size(self, value: winrt.system.Int32) -> None: ...
61
+ @_property
62
+ def is_tracing_enabled(self) -> bool: ...
63
+ @is_tracing_enabled.setter
64
+ def is_tracing_enabled(self, value: bool) -> None: ...
65
+
66
+ @typing.final
67
+ class LearningModelBindingPreview(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object]):
68
+ def __len__(self) -> int: ...
69
+ def __iter__(self) -> typing.Iterator[str]: ...
70
+ def __contains__(self, key: object) -> bool: ...
71
+ def __getitem__(self, key: str) -> winrt.system.Object: ...
72
+ @staticmethod
73
+ def _from(obj: winrt.system.Object, /) -> LearningModelBindingPreview: ...
74
+ def __new__(cls: typing.Type[LearningModelBindingPreview], model: typing.Optional[LearningModelPreview]) -> LearningModelBindingPreview: ...
75
+ @typing.overload
76
+ def bind(self, name: str, value: typing.Optional[winrt.system.Object], /) -> None: ...
77
+ @typing.overload
78
+ def bind(self, name: str, value: typing.Optional[winrt.system.Object], metadata: typing.Optional[windows_foundation_collections.IPropertySet], /) -> None: ...
79
+ def clear(self) -> None: ...
80
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]]: ...
81
+ def has_key(self, key: str, /) -> bool: ...
82
+ def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
83
+ def split(self) -> typing.Tuple[typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]], typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]]: ...
84
+ @_property
85
+ def size(self) -> winrt.system.UInt32: ...
86
+
87
+ @typing.final
88
+ class LearningModelDescriptionPreview(winrt.system.Object):
89
+ @staticmethod
90
+ def _from(obj: winrt.system.Object, /) -> LearningModelDescriptionPreview: ...
91
+ @_property
92
+ def author(self) -> str: ...
93
+ @_property
94
+ def description(self) -> str: ...
95
+ @_property
96
+ def domain(self) -> str: ...
97
+ @_property
98
+ def input_features(self) -> typing.Optional[windows_foundation_collections.IIterable[ILearningModelVariableDescriptorPreview]]: ...
99
+ @_property
100
+ def metadata(self) -> typing.Optional[windows_foundation_collections.IMapView[str, str]]: ...
101
+ @_property
102
+ def name(self) -> str: ...
103
+ @_property
104
+ def output_features(self) -> typing.Optional[windows_foundation_collections.IIterable[ILearningModelVariableDescriptorPreview]]: ...
105
+ @_property
106
+ def version(self) -> winrt.system.Int64: ...
107
+
108
+ @typing.final
109
+ class LearningModelEvaluationResultPreview(winrt.system.Object):
110
+ @staticmethod
111
+ def _from(obj: winrt.system.Object, /) -> LearningModelEvaluationResultPreview: ...
112
+ @_property
113
+ def correlation_id(self) -> str: ...
114
+ @_property
115
+ def outputs(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
116
+
117
+ @typing.final
118
+ class LearningModelPreview_Static(type):
119
+ def load_model_from_storage_file_async(cls, model_file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[LearningModelPreview]: ...
120
+ def load_model_from_stream_async(cls, model_stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[LearningModelPreview]: ...
121
+
122
+ @typing.final
123
+ class LearningModelPreview(winrt.system.Object, metaclass=LearningModelPreview_Static):
124
+ @staticmethod
125
+ def _from(obj: winrt.system.Object, /) -> LearningModelPreview: ...
126
+ def evaluate_async(self, binding: typing.Optional[LearningModelBindingPreview], correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResultPreview]: ...
127
+ def evaluate_features_async(self, features: windows_foundation_collections.IMap[str, winrt.system.Object], correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResultPreview]: ...
128
+ @_property
129
+ def inferencing_options(self) -> typing.Optional[InferencingOptionsPreview]: ...
130
+ @inferencing_options.setter
131
+ def inferencing_options(self, value: typing.Optional[InferencingOptionsPreview]) -> None: ...
132
+ @_property
133
+ def description(self) -> typing.Optional[LearningModelDescriptionPreview]: ...
134
+
135
+ @typing.final
136
+ class LearningModelVariableDescriptorPreview(winrt.system.Object):
137
+ @staticmethod
138
+ def _from(obj: winrt.system.Object, /) -> LearningModelVariableDescriptorPreview: ...
139
+ @_property
140
+ def description(self) -> str: ...
141
+ @_property
142
+ def is_required(self) -> bool: ...
143
+ @_property
144
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
145
+ @_property
146
+ def name(self) -> str: ...
147
+
148
+ @typing.final
149
+ class MapVariableDescriptorPreview(winrt.system.Object):
150
+ @staticmethod
151
+ def _from(obj: winrt.system.Object, /) -> MapVariableDescriptorPreview: ...
152
+ @_property
153
+ def description(self) -> str: ...
154
+ @_property
155
+ def is_required(self) -> bool: ...
156
+ @_property
157
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
158
+ @_property
159
+ def name(self) -> str: ...
160
+ @_property
161
+ def fields(self) -> typing.Optional[ILearningModelVariableDescriptorPreview]: ...
162
+ @_property
163
+ def key_kind(self) -> FeatureElementKindPreview: ...
164
+ @_property
165
+ def valid_integer_keys(self) -> typing.Optional[windows_foundation_collections.IIterable[winrt.system.Int64]]: ...
166
+ @_property
167
+ def valid_string_keys(self) -> typing.Optional[windows_foundation_collections.IIterable[str]]: ...
168
+
169
+ @typing.final
170
+ class SequenceVariableDescriptorPreview(winrt.system.Object):
171
+ @staticmethod
172
+ def _from(obj: winrt.system.Object, /) -> SequenceVariableDescriptorPreview: ...
173
+ @_property
174
+ def description(self) -> str: ...
175
+ @_property
176
+ def is_required(self) -> bool: ...
177
+ @_property
178
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
179
+ @_property
180
+ def name(self) -> str: ...
181
+ @_property
182
+ def element_type(self) -> typing.Optional[ILearningModelVariableDescriptorPreview]: ...
183
+
184
+ @typing.final
185
+ class TensorVariableDescriptorPreview(winrt.system.Object):
186
+ @staticmethod
187
+ def _from(obj: winrt.system.Object, /) -> TensorVariableDescriptorPreview: ...
188
+ @_property
189
+ def description(self) -> str: ...
190
+ @_property
191
+ def is_required(self) -> bool: ...
192
+ @_property
193
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
194
+ @_property
195
+ def name(self) -> str: ...
196
+ @_property
197
+ def data_type(self) -> FeatureElementKindPreview: ...
198
+ @_property
199
+ def shape(self) -> typing.Optional[windows_foundation_collections.IIterable[winrt.system.Int64]]: ...
200
+
201
+ @typing.final
202
+ class ILearningModelVariableDescriptorPreview(winrt.system.Object):
203
+ @staticmethod
204
+ def _from(obj: winrt.system.Object, /) -> ILearningModelVariableDescriptorPreview: ...
205
+ @_property
206
+ def description(self) -> str: ...
207
+ @_property
208
+ def is_required(self) -> bool: ...
209
+ @_property
210
+ def model_feature_kind(self) -> LearningModelFeatureKindPreview: ...
211
+ @_property
212
+ def name(self) -> str: ...
213
+
@@ -0,0 +1,69 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_ai_machinelearning_preview
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
+ class FeatureElementKindPreview(enum.IntEnum):
26
+ UNDEFINED = 0
27
+ FLOAT = 1
28
+ UINT8 = 2
29
+ INT8 = 3
30
+ UINT16 = 4
31
+ INT16 = 5
32
+ INT32 = 6
33
+ INT64 = 7
34
+ STRING = 8
35
+ BOOLEAN = 9
36
+ FLOAT16 = 10
37
+ DOUBLE = 11
38
+ UINT32 = 12
39
+ UINT64 = 13
40
+ COMPLEX64 = 14
41
+ COMPLEX128 = 15
42
+
43
+ class LearningModelDeviceKindPreview(enum.IntEnum):
44
+ LEARNING_DEVICE_ANY = 0
45
+ LEARNING_DEVICE_CPU = 1
46
+ LEARNING_DEVICE_GPU = 2
47
+ LEARNING_DEVICE_NPU = 3
48
+ LEARNING_DEVICE_DSP = 4
49
+ LEARNING_DEVICE_FPGA = 5
50
+
51
+ class LearningModelFeatureKindPreview(enum.IntEnum):
52
+ UNDEFINED = 0
53
+ TENSOR = 1
54
+ SEQUENCE = 2
55
+ MAP = 3
56
+ IMAGE = 4
57
+
58
+ ImageVariableDescriptorPreview = _winrt_windows_ai_machinelearning_preview.ImageVariableDescriptorPreview
59
+ InferencingOptionsPreview = _winrt_windows_ai_machinelearning_preview.InferencingOptionsPreview
60
+ LearningModelBindingPreview = _winrt_windows_ai_machinelearning_preview.LearningModelBindingPreview
61
+ winrt.system._mixin_mapping(LearningModelBindingPreview)
62
+ LearningModelDescriptionPreview = _winrt_windows_ai_machinelearning_preview.LearningModelDescriptionPreview
63
+ LearningModelEvaluationResultPreview = _winrt_windows_ai_machinelearning_preview.LearningModelEvaluationResultPreview
64
+ LearningModelPreview = _winrt_windows_ai_machinelearning_preview.LearningModelPreview
65
+ LearningModelVariableDescriptorPreview = _winrt_windows_ai_machinelearning_preview.LearningModelVariableDescriptorPreview
66
+ MapVariableDescriptorPreview = _winrt_windows_ai_machinelearning_preview.MapVariableDescriptorPreview
67
+ SequenceVariableDescriptorPreview = _winrt_windows_ai_machinelearning_preview.SequenceVariableDescriptorPreview
68
+ TensorVariableDescriptorPreview = _winrt_windows_ai_machinelearning_preview.TensorVariableDescriptorPreview
69
+ ILearningModelVariableDescriptorPreview = _winrt_windows_ai_machinelearning_preview.ILearningModelVariableDescriptorPreview
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.AI.MachineLearning.Preview
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: 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.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Graphics.Imaging[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.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.cp313-win_amd64.pyd,sha256=jGOHfxOJX4FPCE0MlcZblKispg5enn1VFjjLICB2FR8,176640
2
+ winrt/_winrt_windows_ai_machinelearning_preview.pyi,sha256=pW0-n8_YE7hqrmNsvamReCi5ag2HLe7nHD1vGNuF7l4,9289
3
+ winrt/windows/ai/machinelearning/preview/__init__.py,sha256=ZD-0Bs9oBjiGoWEIRYXPLCmiIuoPm6e0bqToPIM5a3U,2616
4
+ winrt/windows/ai/machinelearning/preview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.AI.MachineLearning.Preview-2.2.0.dist-info/METADATA,sha256=ENFT9VD0IaxfZ6Pd5Q6I2yrnPQiRew1cI8NemZBGqbk,1391
6
+ winrt_Windows.AI.MachineLearning.Preview-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.AI.MachineLearning.Preview-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.AI.MachineLearning.Preview-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+