winrt-Windows.AI.MachineLearning 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.
- winrt/_winrt_windows_ai_machinelearning.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ai_machinelearning.pyi +625 -0
- winrt/windows/ai/machinelearning/__init__.py +107 -0
- winrt/windows/ai/machinelearning/py.typed +0 -0
- winrt_Windows.AI.MachineLearning-2.2.0.dist-info/METADATA +32 -0
- winrt_Windows.AI.MachineLearning-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.AI.MachineLearning-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.AI.MachineLearning-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,625 @@
|
|
|
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 as windows_graphics
|
|
15
|
+
import winrt.windows.graphics.directx.direct3d11 as windows_graphics_directx_direct3d11
|
|
16
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
17
|
+
import winrt.windows.media as windows_media
|
|
18
|
+
import winrt.windows.storage as windows_storage
|
|
19
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
20
|
+
|
|
21
|
+
from winrt.windows.ai.machinelearning import LearningModelDeviceKind, LearningModelFeatureKind, LearningModelPixelRange, TensorKind
|
|
22
|
+
|
|
23
|
+
Self = typing.TypeVar('Self')
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class ImageFeatureDescriptor(winrt.system.Object):
|
|
27
|
+
@staticmethod
|
|
28
|
+
def _from(obj: winrt.system.Object, /) -> ImageFeatureDescriptor: ...
|
|
29
|
+
@_property
|
|
30
|
+
def bitmap_alpha_mode(self) -> windows_graphics_imaging.BitmapAlphaMode: ...
|
|
31
|
+
@_property
|
|
32
|
+
def bitmap_pixel_format(self) -> windows_graphics_imaging.BitmapPixelFormat: ...
|
|
33
|
+
@_property
|
|
34
|
+
def height(self) -> winrt.system.UInt32: ...
|
|
35
|
+
@_property
|
|
36
|
+
def width(self) -> winrt.system.UInt32: ...
|
|
37
|
+
@_property
|
|
38
|
+
def pixel_range(self) -> LearningModelPixelRange: ...
|
|
39
|
+
@_property
|
|
40
|
+
def description(self) -> str: ...
|
|
41
|
+
@_property
|
|
42
|
+
def is_required(self) -> bool: ...
|
|
43
|
+
@_property
|
|
44
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
45
|
+
@_property
|
|
46
|
+
def name(self) -> str: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class ImageFeatureValue_Static(type):
|
|
50
|
+
def create_from_video_frame(cls, image: typing.Optional[windows_media.VideoFrame], /) -> typing.Optional[ImageFeatureValue]: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class ImageFeatureValue(winrt.system.Object, metaclass=ImageFeatureValue_Static):
|
|
54
|
+
@staticmethod
|
|
55
|
+
def _from(obj: winrt.system.Object, /) -> ImageFeatureValue: ...
|
|
56
|
+
@_property
|
|
57
|
+
def video_frame(self) -> typing.Optional[windows_media.VideoFrame]: ...
|
|
58
|
+
@_property
|
|
59
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class LearningModel_Static(type):
|
|
63
|
+
@typing.overload
|
|
64
|
+
def load_from_file_path(cls, file_path: str, /) -> typing.Optional[LearningModel]: ...
|
|
65
|
+
@typing.overload
|
|
66
|
+
def load_from_file_path(cls, file_path: str, operator_provider: typing.Optional[ILearningModelOperatorProvider], /) -> typing.Optional[LearningModel]: ...
|
|
67
|
+
@typing.overload
|
|
68
|
+
def load_from_storage_file_async(cls, model_file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[LearningModel]: ...
|
|
69
|
+
@typing.overload
|
|
70
|
+
def load_from_storage_file_async(cls, model_file: typing.Optional[windows_storage.IStorageFile], operator_provider: typing.Optional[ILearningModelOperatorProvider], /) -> windows_foundation.IAsyncOperation[LearningModel]: ...
|
|
71
|
+
@typing.overload
|
|
72
|
+
def load_from_stream(cls, model_stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> typing.Optional[LearningModel]: ...
|
|
73
|
+
@typing.overload
|
|
74
|
+
def load_from_stream(cls, model_stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], operator_provider: typing.Optional[ILearningModelOperatorProvider], /) -> typing.Optional[LearningModel]: ...
|
|
75
|
+
@typing.overload
|
|
76
|
+
def load_from_stream_async(cls, model_stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[LearningModel]: ...
|
|
77
|
+
@typing.overload
|
|
78
|
+
def load_from_stream_async(cls, model_stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], operator_provider: typing.Optional[ILearningModelOperatorProvider], /) -> windows_foundation.IAsyncOperation[LearningModel]: ...
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class LearningModel(winrt.system.Object, metaclass=LearningModel_Static):
|
|
82
|
+
def __enter__(self: Self) -> Self: ...
|
|
83
|
+
def __exit__(self, *args) -> None: ...
|
|
84
|
+
@staticmethod
|
|
85
|
+
def _from(obj: winrt.system.Object, /) -> LearningModel: ...
|
|
86
|
+
def close(self) -> None: ...
|
|
87
|
+
@_property
|
|
88
|
+
def author(self) -> str: ...
|
|
89
|
+
@_property
|
|
90
|
+
def description(self) -> str: ...
|
|
91
|
+
@_property
|
|
92
|
+
def domain(self) -> str: ...
|
|
93
|
+
@_property
|
|
94
|
+
def input_features(self) -> typing.Optional[windows_foundation_collections.IVectorView[ILearningModelFeatureDescriptor]]: ...
|
|
95
|
+
@_property
|
|
96
|
+
def metadata(self) -> typing.Optional[windows_foundation_collections.IMapView[str, str]]: ...
|
|
97
|
+
@_property
|
|
98
|
+
def name(self) -> str: ...
|
|
99
|
+
@_property
|
|
100
|
+
def output_features(self) -> typing.Optional[windows_foundation_collections.IVectorView[ILearningModelFeatureDescriptor]]: ...
|
|
101
|
+
@_property
|
|
102
|
+
def version(self) -> winrt.system.Int64: ...
|
|
103
|
+
|
|
104
|
+
@typing.final
|
|
105
|
+
class LearningModelBinding(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object]):
|
|
106
|
+
def __len__(self) -> int: ...
|
|
107
|
+
def __iter__(self) -> typing.Iterator[str]: ...
|
|
108
|
+
def __contains__(self, key: object) -> bool: ...
|
|
109
|
+
def __getitem__(self, key: str) -> winrt.system.Object: ...
|
|
110
|
+
@staticmethod
|
|
111
|
+
def _from(obj: winrt.system.Object, /) -> LearningModelBinding: ...
|
|
112
|
+
def __new__(cls: typing.Type[LearningModelBinding], session: typing.Optional[LearningModelSession]) -> LearningModelBinding: ...
|
|
113
|
+
@typing.overload
|
|
114
|
+
def bind(self, name: str, value: typing.Optional[winrt.system.Object], /) -> None: ...
|
|
115
|
+
@typing.overload
|
|
116
|
+
def bind(self, name: str, value: typing.Optional[winrt.system.Object], props: typing.Optional[windows_foundation_collections.IPropertySet], /) -> None: ...
|
|
117
|
+
def clear(self) -> None: ...
|
|
118
|
+
def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]]: ...
|
|
119
|
+
def has_key(self, key: str, /) -> bool: ...
|
|
120
|
+
def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
|
|
121
|
+
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]]]: ...
|
|
122
|
+
@_property
|
|
123
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
124
|
+
|
|
125
|
+
@typing.final
|
|
126
|
+
class LearningModelDevice_Static(type):
|
|
127
|
+
def create_from_direct3_d11_device(cls, device: typing.Optional[windows_graphics_directx_direct3d11.IDirect3DDevice], /) -> typing.Optional[LearningModelDevice]: ...
|
|
128
|
+
|
|
129
|
+
@typing.final
|
|
130
|
+
class LearningModelDevice(winrt.system.Object, metaclass=LearningModelDevice_Static):
|
|
131
|
+
@staticmethod
|
|
132
|
+
def _from(obj: winrt.system.Object, /) -> LearningModelDevice: ...
|
|
133
|
+
def __new__(cls: typing.Type[LearningModelDevice], device_kind: LearningModelDeviceKind) -> LearningModelDevice: ...
|
|
134
|
+
@_property
|
|
135
|
+
def adapter_id(self) -> windows_graphics.DisplayAdapterId: ...
|
|
136
|
+
@_property
|
|
137
|
+
def direct3_d11_device(self) -> typing.Optional[windows_graphics_directx_direct3d11.IDirect3DDevice]: ...
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class LearningModelEvaluationResult(winrt.system.Object):
|
|
141
|
+
@staticmethod
|
|
142
|
+
def _from(obj: winrt.system.Object, /) -> LearningModelEvaluationResult: ...
|
|
143
|
+
@_property
|
|
144
|
+
def correlation_id(self) -> str: ...
|
|
145
|
+
@_property
|
|
146
|
+
def error_status(self) -> winrt.system.Int32: ...
|
|
147
|
+
@_property
|
|
148
|
+
def outputs(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
|
|
149
|
+
@_property
|
|
150
|
+
def succeeded(self) -> bool: ...
|
|
151
|
+
|
|
152
|
+
@typing.final
|
|
153
|
+
class LearningModelSession(winrt.system.Object):
|
|
154
|
+
def __enter__(self: Self) -> Self: ...
|
|
155
|
+
def __exit__(self, *args) -> None: ...
|
|
156
|
+
@staticmethod
|
|
157
|
+
def _from(obj: winrt.system.Object, /) -> LearningModelSession: ...
|
|
158
|
+
@typing.overload
|
|
159
|
+
def __new__(cls: typing.Type[LearningModelSession], model: typing.Optional[LearningModel], device_to_run_on: typing.Optional[LearningModelDevice], learning_model_session_options: typing.Optional[LearningModelSessionOptions]) -> LearningModelSession: ...
|
|
160
|
+
@typing.overload
|
|
161
|
+
def __new__(cls: typing.Type[LearningModelSession], model: typing.Optional[LearningModel]) -> LearningModelSession: ...
|
|
162
|
+
@typing.overload
|
|
163
|
+
def __new__(cls: typing.Type[LearningModelSession], model: typing.Optional[LearningModel], device_to_run_on: typing.Optional[LearningModelDevice]) -> LearningModelSession: ...
|
|
164
|
+
def close(self) -> None: ...
|
|
165
|
+
def evaluate(self, bindings: typing.Optional[LearningModelBinding], correlation_id: str, /) -> typing.Optional[LearningModelEvaluationResult]: ...
|
|
166
|
+
def evaluate_async(self, bindings: typing.Optional[LearningModelBinding], correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResult]: ...
|
|
167
|
+
def evaluate_features(self, features: windows_foundation_collections.IMap[str, winrt.system.Object], correlation_id: str, /) -> typing.Optional[LearningModelEvaluationResult]: ...
|
|
168
|
+
def evaluate_features_async(self, features: windows_foundation_collections.IMap[str, winrt.system.Object], correlation_id: str, /) -> windows_foundation.IAsyncOperation[LearningModelEvaluationResult]: ...
|
|
169
|
+
@_property
|
|
170
|
+
def device(self) -> typing.Optional[LearningModelDevice]: ...
|
|
171
|
+
@_property
|
|
172
|
+
def evaluation_properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
|
|
173
|
+
@_property
|
|
174
|
+
def model(self) -> typing.Optional[LearningModel]: ...
|
|
175
|
+
|
|
176
|
+
@typing.final
|
|
177
|
+
class LearningModelSessionOptions(winrt.system.Object):
|
|
178
|
+
@staticmethod
|
|
179
|
+
def _from(obj: winrt.system.Object, /) -> LearningModelSessionOptions: ...
|
|
180
|
+
def __new__(cls: typing.Type[LearningModelSessionOptions]) -> LearningModelSessionOptions: ...
|
|
181
|
+
def override_named_dimension(self, name: str, dimension: winrt.system.UInt32, /) -> None: ...
|
|
182
|
+
@_property
|
|
183
|
+
def batch_size_override(self) -> winrt.system.UInt32: ...
|
|
184
|
+
@batch_size_override.setter
|
|
185
|
+
def batch_size_override(self, value: winrt.system.UInt32) -> None: ...
|
|
186
|
+
@_property
|
|
187
|
+
def close_model_on_session_creation(self) -> bool: ...
|
|
188
|
+
@close_model_on_session_creation.setter
|
|
189
|
+
def close_model_on_session_creation(self, value: bool) -> None: ...
|
|
190
|
+
|
|
191
|
+
@typing.final
|
|
192
|
+
class MapFeatureDescriptor(winrt.system.Object):
|
|
193
|
+
@staticmethod
|
|
194
|
+
def _from(obj: winrt.system.Object, /) -> MapFeatureDescriptor: ...
|
|
195
|
+
@_property
|
|
196
|
+
def description(self) -> str: ...
|
|
197
|
+
@_property
|
|
198
|
+
def is_required(self) -> bool: ...
|
|
199
|
+
@_property
|
|
200
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
201
|
+
@_property
|
|
202
|
+
def name(self) -> str: ...
|
|
203
|
+
@_property
|
|
204
|
+
def key_kind(self) -> TensorKind: ...
|
|
205
|
+
@_property
|
|
206
|
+
def value_descriptor(self) -> typing.Optional[ILearningModelFeatureDescriptor]: ...
|
|
207
|
+
|
|
208
|
+
@typing.final
|
|
209
|
+
class SequenceFeatureDescriptor(winrt.system.Object):
|
|
210
|
+
@staticmethod
|
|
211
|
+
def _from(obj: winrt.system.Object, /) -> SequenceFeatureDescriptor: ...
|
|
212
|
+
@_property
|
|
213
|
+
def description(self) -> str: ...
|
|
214
|
+
@_property
|
|
215
|
+
def is_required(self) -> bool: ...
|
|
216
|
+
@_property
|
|
217
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
218
|
+
@_property
|
|
219
|
+
def name(self) -> str: ...
|
|
220
|
+
@_property
|
|
221
|
+
def element_descriptor(self) -> typing.Optional[ILearningModelFeatureDescriptor]: ...
|
|
222
|
+
|
|
223
|
+
@typing.final
|
|
224
|
+
class TensorBoolean_Static(type):
|
|
225
|
+
@typing.overload
|
|
226
|
+
def create(cls) -> typing.Optional[TensorBoolean]: ...
|
|
227
|
+
@typing.overload
|
|
228
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorBoolean]: ...
|
|
229
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[bool], /) -> typing.Optional[TensorBoolean]: ...
|
|
230
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorBoolean]: ...
|
|
231
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[bool], /) -> typing.Optional[TensorBoolean]: ...
|
|
232
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[bool], /) -> typing.Optional[TensorBoolean]: ...
|
|
233
|
+
|
|
234
|
+
@typing.final
|
|
235
|
+
class TensorBoolean(winrt.system.Object, metaclass=TensorBoolean_Static):
|
|
236
|
+
def __enter__(self: Self) -> Self: ...
|
|
237
|
+
def __exit__(self, *args) -> None: ...
|
|
238
|
+
@staticmethod
|
|
239
|
+
def _from(obj: winrt.system.Object, /) -> TensorBoolean: ...
|
|
240
|
+
def close(self) -> None: ...
|
|
241
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
242
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[bool]]: ...
|
|
243
|
+
@_property
|
|
244
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
245
|
+
@_property
|
|
246
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
247
|
+
@_property
|
|
248
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
249
|
+
|
|
250
|
+
@typing.final
|
|
251
|
+
class TensorDouble_Static(type):
|
|
252
|
+
@typing.overload
|
|
253
|
+
def create(cls) -> typing.Optional[TensorDouble]: ...
|
|
254
|
+
@typing.overload
|
|
255
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorDouble]: ...
|
|
256
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.Double], /) -> typing.Optional[TensorDouble]: ...
|
|
257
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorDouble]: ...
|
|
258
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Double], /) -> typing.Optional[TensorDouble]: ...
|
|
259
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.Double], /) -> typing.Optional[TensorDouble]: ...
|
|
260
|
+
|
|
261
|
+
@typing.final
|
|
262
|
+
class TensorDouble(winrt.system.Object, metaclass=TensorDouble_Static):
|
|
263
|
+
def __enter__(self: Self) -> Self: ...
|
|
264
|
+
def __exit__(self, *args) -> None: ...
|
|
265
|
+
@staticmethod
|
|
266
|
+
def _from(obj: winrt.system.Object, /) -> TensorDouble: ...
|
|
267
|
+
def close(self) -> None: ...
|
|
268
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
269
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Double]]: ...
|
|
270
|
+
@_property
|
|
271
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
272
|
+
@_property
|
|
273
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
274
|
+
@_property
|
|
275
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
276
|
+
|
|
277
|
+
@typing.final
|
|
278
|
+
class TensorFeatureDescriptor(winrt.system.Object):
|
|
279
|
+
@staticmethod
|
|
280
|
+
def _from(obj: winrt.system.Object, /) -> TensorFeatureDescriptor: ...
|
|
281
|
+
@_property
|
|
282
|
+
def description(self) -> str: ...
|
|
283
|
+
@_property
|
|
284
|
+
def is_required(self) -> bool: ...
|
|
285
|
+
@_property
|
|
286
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
287
|
+
@_property
|
|
288
|
+
def name(self) -> str: ...
|
|
289
|
+
@_property
|
|
290
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
291
|
+
@_property
|
|
292
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
293
|
+
|
|
294
|
+
@typing.final
|
|
295
|
+
class TensorFloat_Static(type):
|
|
296
|
+
@typing.overload
|
|
297
|
+
def create(cls) -> typing.Optional[TensorFloat]: ...
|
|
298
|
+
@typing.overload
|
|
299
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorFloat]: ...
|
|
300
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.Single], /) -> typing.Optional[TensorFloat]: ...
|
|
301
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorFloat]: ...
|
|
302
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Single], /) -> typing.Optional[TensorFloat]: ...
|
|
303
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.Single], /) -> typing.Optional[TensorFloat]: ...
|
|
304
|
+
|
|
305
|
+
@typing.final
|
|
306
|
+
class TensorFloat(winrt.system.Object, metaclass=TensorFloat_Static):
|
|
307
|
+
def __enter__(self: Self) -> Self: ...
|
|
308
|
+
def __exit__(self, *args) -> None: ...
|
|
309
|
+
@staticmethod
|
|
310
|
+
def _from(obj: winrt.system.Object, /) -> TensorFloat: ...
|
|
311
|
+
def close(self) -> None: ...
|
|
312
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
313
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Single]]: ...
|
|
314
|
+
@_property
|
|
315
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
316
|
+
@_property
|
|
317
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
318
|
+
@_property
|
|
319
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
320
|
+
|
|
321
|
+
@typing.final
|
|
322
|
+
class TensorFloat16Bit_Static(type):
|
|
323
|
+
@typing.overload
|
|
324
|
+
def create(cls) -> typing.Optional[TensorFloat16Bit]: ...
|
|
325
|
+
@typing.overload
|
|
326
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorFloat16Bit]: ...
|
|
327
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.Single], /) -> typing.Optional[TensorFloat16Bit]: ...
|
|
328
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorFloat16Bit]: ...
|
|
329
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Single], /) -> typing.Optional[TensorFloat16Bit]: ...
|
|
330
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.Single], /) -> typing.Optional[TensorFloat16Bit]: ...
|
|
331
|
+
|
|
332
|
+
@typing.final
|
|
333
|
+
class TensorFloat16Bit(winrt.system.Object, metaclass=TensorFloat16Bit_Static):
|
|
334
|
+
def __enter__(self: Self) -> Self: ...
|
|
335
|
+
def __exit__(self, *args) -> None: ...
|
|
336
|
+
@staticmethod
|
|
337
|
+
def _from(obj: winrt.system.Object, /) -> TensorFloat16Bit: ...
|
|
338
|
+
def close(self) -> None: ...
|
|
339
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
340
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Single]]: ...
|
|
341
|
+
@_property
|
|
342
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
343
|
+
@_property
|
|
344
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
345
|
+
@_property
|
|
346
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
347
|
+
|
|
348
|
+
@typing.final
|
|
349
|
+
class TensorInt16Bit_Static(type):
|
|
350
|
+
@typing.overload
|
|
351
|
+
def create(cls) -> typing.Optional[TensorInt16Bit]: ...
|
|
352
|
+
@typing.overload
|
|
353
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorInt16Bit]: ...
|
|
354
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.Int16], /) -> typing.Optional[TensorInt16Bit]: ...
|
|
355
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorInt16Bit]: ...
|
|
356
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Int16], /) -> typing.Optional[TensorInt16Bit]: ...
|
|
357
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.Int16], /) -> typing.Optional[TensorInt16Bit]: ...
|
|
358
|
+
|
|
359
|
+
@typing.final
|
|
360
|
+
class TensorInt16Bit(winrt.system.Object, metaclass=TensorInt16Bit_Static):
|
|
361
|
+
def __enter__(self: Self) -> Self: ...
|
|
362
|
+
def __exit__(self, *args) -> None: ...
|
|
363
|
+
@staticmethod
|
|
364
|
+
def _from(obj: winrt.system.Object, /) -> TensorInt16Bit: ...
|
|
365
|
+
def close(self) -> None: ...
|
|
366
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
367
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int16]]: ...
|
|
368
|
+
@_property
|
|
369
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
370
|
+
@_property
|
|
371
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
372
|
+
@_property
|
|
373
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
374
|
+
|
|
375
|
+
@typing.final
|
|
376
|
+
class TensorInt32Bit_Static(type):
|
|
377
|
+
@typing.overload
|
|
378
|
+
def create(cls) -> typing.Optional[TensorInt32Bit]: ...
|
|
379
|
+
@typing.overload
|
|
380
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorInt32Bit]: ...
|
|
381
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.Int32], /) -> typing.Optional[TensorInt32Bit]: ...
|
|
382
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorInt32Bit]: ...
|
|
383
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Int32], /) -> typing.Optional[TensorInt32Bit]: ...
|
|
384
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.Int32], /) -> typing.Optional[TensorInt32Bit]: ...
|
|
385
|
+
|
|
386
|
+
@typing.final
|
|
387
|
+
class TensorInt32Bit(winrt.system.Object, metaclass=TensorInt32Bit_Static):
|
|
388
|
+
def __enter__(self: Self) -> Self: ...
|
|
389
|
+
def __exit__(self, *args) -> None: ...
|
|
390
|
+
@staticmethod
|
|
391
|
+
def _from(obj: winrt.system.Object, /) -> TensorInt32Bit: ...
|
|
392
|
+
def close(self) -> None: ...
|
|
393
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
394
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int32]]: ...
|
|
395
|
+
@_property
|
|
396
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
397
|
+
@_property
|
|
398
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
399
|
+
@_property
|
|
400
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
401
|
+
|
|
402
|
+
@typing.final
|
|
403
|
+
class TensorInt64Bit_Static(type):
|
|
404
|
+
@typing.overload
|
|
405
|
+
def create(cls) -> typing.Optional[TensorInt64Bit]: ...
|
|
406
|
+
@typing.overload
|
|
407
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorInt64Bit]: ...
|
|
408
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.Int64], /) -> typing.Optional[TensorInt64Bit]: ...
|
|
409
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorInt64Bit]: ...
|
|
410
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorInt64Bit]: ...
|
|
411
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.Int64], /) -> typing.Optional[TensorInt64Bit]: ...
|
|
412
|
+
|
|
413
|
+
@typing.final
|
|
414
|
+
class TensorInt64Bit(winrt.system.Object, metaclass=TensorInt64Bit_Static):
|
|
415
|
+
def __enter__(self: Self) -> Self: ...
|
|
416
|
+
def __exit__(self, *args) -> None: ...
|
|
417
|
+
@staticmethod
|
|
418
|
+
def _from(obj: winrt.system.Object, /) -> TensorInt64Bit: ...
|
|
419
|
+
def close(self) -> None: ...
|
|
420
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
421
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
422
|
+
@_property
|
|
423
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
424
|
+
@_property
|
|
425
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
426
|
+
@_property
|
|
427
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
428
|
+
|
|
429
|
+
@typing.final
|
|
430
|
+
class TensorInt8Bit_Static(type):
|
|
431
|
+
@typing.overload
|
|
432
|
+
def create(cls) -> typing.Optional[TensorInt8Bit]: ...
|
|
433
|
+
@typing.overload
|
|
434
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorInt8Bit]: ...
|
|
435
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[TensorInt8Bit]: ...
|
|
436
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorInt8Bit]: ...
|
|
437
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt8], /) -> typing.Optional[TensorInt8Bit]: ...
|
|
438
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[TensorInt8Bit]: ...
|
|
439
|
+
|
|
440
|
+
@typing.final
|
|
441
|
+
class TensorInt8Bit(winrt.system.Object, metaclass=TensorInt8Bit_Static):
|
|
442
|
+
def __enter__(self: Self) -> Self: ...
|
|
443
|
+
def __exit__(self, *args) -> None: ...
|
|
444
|
+
@staticmethod
|
|
445
|
+
def _from(obj: winrt.system.Object, /) -> TensorInt8Bit: ...
|
|
446
|
+
def close(self) -> None: ...
|
|
447
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
448
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt8]]: ...
|
|
449
|
+
@_property
|
|
450
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
451
|
+
@_property
|
|
452
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
453
|
+
@_property
|
|
454
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
455
|
+
|
|
456
|
+
@typing.final
|
|
457
|
+
class TensorString_Static(type):
|
|
458
|
+
@typing.overload
|
|
459
|
+
def create(cls) -> typing.Optional[TensorString]: ...
|
|
460
|
+
@typing.overload
|
|
461
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorString]: ...
|
|
462
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[str], /) -> typing.Optional[TensorString]: ...
|
|
463
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[str], /) -> typing.Optional[TensorString]: ...
|
|
464
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[str], /) -> typing.Optional[TensorString]: ...
|
|
465
|
+
|
|
466
|
+
@typing.final
|
|
467
|
+
class TensorString(winrt.system.Object, metaclass=TensorString_Static):
|
|
468
|
+
def __enter__(self: Self) -> Self: ...
|
|
469
|
+
def __exit__(self, *args) -> None: ...
|
|
470
|
+
@staticmethod
|
|
471
|
+
def _from(obj: winrt.system.Object, /) -> TensorString: ...
|
|
472
|
+
def close(self) -> None: ...
|
|
473
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
474
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
475
|
+
@_property
|
|
476
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
477
|
+
@_property
|
|
478
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
479
|
+
@_property
|
|
480
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
481
|
+
|
|
482
|
+
@typing.final
|
|
483
|
+
class TensorUInt16Bit_Static(type):
|
|
484
|
+
@typing.overload
|
|
485
|
+
def create(cls) -> typing.Optional[TensorUInt16Bit]: ...
|
|
486
|
+
@typing.overload
|
|
487
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorUInt16Bit]: ...
|
|
488
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt16], /) -> typing.Optional[TensorUInt16Bit]: ...
|
|
489
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorUInt16Bit]: ...
|
|
490
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt16], /) -> typing.Optional[TensorUInt16Bit]: ...
|
|
491
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt16], /) -> typing.Optional[TensorUInt16Bit]: ...
|
|
492
|
+
|
|
493
|
+
@typing.final
|
|
494
|
+
class TensorUInt16Bit(winrt.system.Object, metaclass=TensorUInt16Bit_Static):
|
|
495
|
+
def __enter__(self: Self) -> Self: ...
|
|
496
|
+
def __exit__(self, *args) -> None: ...
|
|
497
|
+
@staticmethod
|
|
498
|
+
def _from(obj: winrt.system.Object, /) -> TensorUInt16Bit: ...
|
|
499
|
+
def close(self) -> None: ...
|
|
500
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
501
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt16]]: ...
|
|
502
|
+
@_property
|
|
503
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
504
|
+
@_property
|
|
505
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
506
|
+
@_property
|
|
507
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
508
|
+
|
|
509
|
+
@typing.final
|
|
510
|
+
class TensorUInt32Bit_Static(type):
|
|
511
|
+
@typing.overload
|
|
512
|
+
def create(cls) -> typing.Optional[TensorUInt32Bit]: ...
|
|
513
|
+
@typing.overload
|
|
514
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorUInt32Bit]: ...
|
|
515
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt32], /) -> typing.Optional[TensorUInt32Bit]: ...
|
|
516
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorUInt32Bit]: ...
|
|
517
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt32], /) -> typing.Optional[TensorUInt32Bit]: ...
|
|
518
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt32], /) -> typing.Optional[TensorUInt32Bit]: ...
|
|
519
|
+
|
|
520
|
+
@typing.final
|
|
521
|
+
class TensorUInt32Bit(winrt.system.Object, metaclass=TensorUInt32Bit_Static):
|
|
522
|
+
def __enter__(self: Self) -> Self: ...
|
|
523
|
+
def __exit__(self, *args) -> None: ...
|
|
524
|
+
@staticmethod
|
|
525
|
+
def _from(obj: winrt.system.Object, /) -> TensorUInt32Bit: ...
|
|
526
|
+
def close(self) -> None: ...
|
|
527
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
528
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt32]]: ...
|
|
529
|
+
@_property
|
|
530
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
531
|
+
@_property
|
|
532
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
533
|
+
@_property
|
|
534
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
535
|
+
|
|
536
|
+
@typing.final
|
|
537
|
+
class TensorUInt64Bit_Static(type):
|
|
538
|
+
@typing.overload
|
|
539
|
+
def create(cls) -> typing.Optional[TensorUInt64Bit]: ...
|
|
540
|
+
@typing.overload
|
|
541
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorUInt64Bit]: ...
|
|
542
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt64], /) -> typing.Optional[TensorUInt64Bit]: ...
|
|
543
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorUInt64Bit]: ...
|
|
544
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt64], /) -> typing.Optional[TensorUInt64Bit]: ...
|
|
545
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt64], /) -> typing.Optional[TensorUInt64Bit]: ...
|
|
546
|
+
|
|
547
|
+
@typing.final
|
|
548
|
+
class TensorUInt64Bit(winrt.system.Object, metaclass=TensorUInt64Bit_Static):
|
|
549
|
+
def __enter__(self: Self) -> Self: ...
|
|
550
|
+
def __exit__(self, *args) -> None: ...
|
|
551
|
+
@staticmethod
|
|
552
|
+
def _from(obj: winrt.system.Object, /) -> TensorUInt64Bit: ...
|
|
553
|
+
def close(self) -> None: ...
|
|
554
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
555
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt64]]: ...
|
|
556
|
+
@_property
|
|
557
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
558
|
+
@_property
|
|
559
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
560
|
+
@_property
|
|
561
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
562
|
+
|
|
563
|
+
@typing.final
|
|
564
|
+
class TensorUInt8Bit_Static(type):
|
|
565
|
+
@typing.overload
|
|
566
|
+
def create(cls) -> typing.Optional[TensorUInt8Bit]: ...
|
|
567
|
+
@typing.overload
|
|
568
|
+
def create(cls, shape: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorUInt8Bit]: ...
|
|
569
|
+
def create_from_array(cls, shape: typing.Iterable[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[TensorUInt8Bit]: ...
|
|
570
|
+
def create_from_buffer(cls, shape: winrt.system.Array[winrt.system.Int64], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[TensorUInt8Bit]: ...
|
|
571
|
+
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt8], /) -> typing.Optional[TensorUInt8Bit]: ...
|
|
572
|
+
def create_from_shape_array_and_data_array(cls, shape: winrt.system.Array[winrt.system.Int64], data: winrt.system.Array[winrt.system.UInt8], /) -> typing.Optional[TensorUInt8Bit]: ...
|
|
573
|
+
|
|
574
|
+
@typing.final
|
|
575
|
+
class TensorUInt8Bit(winrt.system.Object, metaclass=TensorUInt8Bit_Static):
|
|
576
|
+
def __enter__(self: Self) -> Self: ...
|
|
577
|
+
def __exit__(self, *args) -> None: ...
|
|
578
|
+
@staticmethod
|
|
579
|
+
def _from(obj: winrt.system.Object, /) -> TensorUInt8Bit: ...
|
|
580
|
+
def close(self) -> None: ...
|
|
581
|
+
def create_reference(self) -> typing.Optional[windows_foundation.IMemoryBufferReference]: ...
|
|
582
|
+
def get_as_vector_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt8]]: ...
|
|
583
|
+
@_property
|
|
584
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
585
|
+
@_property
|
|
586
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
587
|
+
@_property
|
|
588
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
589
|
+
|
|
590
|
+
@typing.final
|
|
591
|
+
class ILearningModelFeatureDescriptor(winrt.system.Object):
|
|
592
|
+
@staticmethod
|
|
593
|
+
def _from(obj: winrt.system.Object, /) -> ILearningModelFeatureDescriptor: ...
|
|
594
|
+
@_property
|
|
595
|
+
def description(self) -> str: ...
|
|
596
|
+
@_property
|
|
597
|
+
def is_required(self) -> bool: ...
|
|
598
|
+
@_property
|
|
599
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
600
|
+
@_property
|
|
601
|
+
def name(self) -> str: ...
|
|
602
|
+
|
|
603
|
+
@typing.final
|
|
604
|
+
class ILearningModelFeatureValue(winrt.system.Object):
|
|
605
|
+
@staticmethod
|
|
606
|
+
def _from(obj: winrt.system.Object, /) -> ILearningModelFeatureValue: ...
|
|
607
|
+
@_property
|
|
608
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
609
|
+
|
|
610
|
+
@typing.final
|
|
611
|
+
class ILearningModelOperatorProvider(winrt.system.Object):
|
|
612
|
+
@staticmethod
|
|
613
|
+
def _from(obj: winrt.system.Object, /) -> ILearningModelOperatorProvider: ...
|
|
614
|
+
|
|
615
|
+
@typing.final
|
|
616
|
+
class ITensor(winrt.system.Object):
|
|
617
|
+
@staticmethod
|
|
618
|
+
def _from(obj: winrt.system.Object, /) -> ITensor: ...
|
|
619
|
+
@_property
|
|
620
|
+
def shape(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Int64]]: ...
|
|
621
|
+
@_property
|
|
622
|
+
def tensor_kind(self) -> TensorKind: ...
|
|
623
|
+
@_property
|
|
624
|
+
def kind(self) -> LearningModelFeatureKind: ...
|
|
625
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
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
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"LearningModelDeviceKind",
|
|
10
|
+
"LearningModelFeatureKind",
|
|
11
|
+
"LearningModelPixelRange",
|
|
12
|
+
"TensorKind",
|
|
13
|
+
"ImageFeatureDescriptor",
|
|
14
|
+
"ImageFeatureValue",
|
|
15
|
+
"LearningModel",
|
|
16
|
+
"LearningModelBinding",
|
|
17
|
+
"LearningModelDevice",
|
|
18
|
+
"LearningModelEvaluationResult",
|
|
19
|
+
"LearningModelSession",
|
|
20
|
+
"LearningModelSessionOptions",
|
|
21
|
+
"MapFeatureDescriptor",
|
|
22
|
+
"SequenceFeatureDescriptor",
|
|
23
|
+
"TensorBoolean",
|
|
24
|
+
"TensorDouble",
|
|
25
|
+
"TensorFeatureDescriptor",
|
|
26
|
+
"TensorFloat",
|
|
27
|
+
"TensorFloat16Bit",
|
|
28
|
+
"TensorInt16Bit",
|
|
29
|
+
"TensorInt32Bit",
|
|
30
|
+
"TensorInt64Bit",
|
|
31
|
+
"TensorInt8Bit",
|
|
32
|
+
"TensorString",
|
|
33
|
+
"TensorUInt16Bit",
|
|
34
|
+
"TensorUInt32Bit",
|
|
35
|
+
"TensorUInt64Bit",
|
|
36
|
+
"TensorUInt8Bit",
|
|
37
|
+
"ILearningModelFeatureDescriptor",
|
|
38
|
+
"ILearningModelFeatureValue",
|
|
39
|
+
"ILearningModelOperatorProvider",
|
|
40
|
+
"ITensor",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
class LearningModelDeviceKind(enum.IntEnum):
|
|
44
|
+
DEFAULT = 0
|
|
45
|
+
CPU = 1
|
|
46
|
+
DIRECT_X = 2
|
|
47
|
+
DIRECT_X_HIGH_PERFORMANCE = 3
|
|
48
|
+
DIRECT_X_MIN_POWER = 4
|
|
49
|
+
|
|
50
|
+
class LearningModelFeatureKind(enum.IntEnum):
|
|
51
|
+
TENSOR = 0
|
|
52
|
+
SEQUENCE = 1
|
|
53
|
+
MAP = 2
|
|
54
|
+
IMAGE = 3
|
|
55
|
+
|
|
56
|
+
class LearningModelPixelRange(enum.IntEnum):
|
|
57
|
+
ZERO_TO255 = 0
|
|
58
|
+
ZERO_TO_ONE = 1
|
|
59
|
+
MINUS_ONE_TO_ONE = 2
|
|
60
|
+
|
|
61
|
+
class TensorKind(enum.IntEnum):
|
|
62
|
+
UNDEFINED = 0
|
|
63
|
+
FLOAT = 1
|
|
64
|
+
UINT8 = 2
|
|
65
|
+
INT8 = 3
|
|
66
|
+
UINT16 = 4
|
|
67
|
+
INT16 = 5
|
|
68
|
+
INT32 = 6
|
|
69
|
+
INT64 = 7
|
|
70
|
+
STRING = 8
|
|
71
|
+
BOOLEAN = 9
|
|
72
|
+
FLOAT16 = 10
|
|
73
|
+
DOUBLE = 11
|
|
74
|
+
UINT32 = 12
|
|
75
|
+
UINT64 = 13
|
|
76
|
+
COMPLEX64 = 14
|
|
77
|
+
COMPLEX128 = 15
|
|
78
|
+
|
|
79
|
+
ImageFeatureDescriptor = _winrt_windows_ai_machinelearning.ImageFeatureDescriptor
|
|
80
|
+
ImageFeatureValue = _winrt_windows_ai_machinelearning.ImageFeatureValue
|
|
81
|
+
LearningModel = _winrt_windows_ai_machinelearning.LearningModel
|
|
82
|
+
LearningModelBinding = _winrt_windows_ai_machinelearning.LearningModelBinding
|
|
83
|
+
winrt.system._mixin_mapping(LearningModelBinding)
|
|
84
|
+
LearningModelDevice = _winrt_windows_ai_machinelearning.LearningModelDevice
|
|
85
|
+
LearningModelEvaluationResult = _winrt_windows_ai_machinelearning.LearningModelEvaluationResult
|
|
86
|
+
LearningModelSession = _winrt_windows_ai_machinelearning.LearningModelSession
|
|
87
|
+
LearningModelSessionOptions = _winrt_windows_ai_machinelearning.LearningModelSessionOptions
|
|
88
|
+
MapFeatureDescriptor = _winrt_windows_ai_machinelearning.MapFeatureDescriptor
|
|
89
|
+
SequenceFeatureDescriptor = _winrt_windows_ai_machinelearning.SequenceFeatureDescriptor
|
|
90
|
+
TensorBoolean = _winrt_windows_ai_machinelearning.TensorBoolean
|
|
91
|
+
TensorDouble = _winrt_windows_ai_machinelearning.TensorDouble
|
|
92
|
+
TensorFeatureDescriptor = _winrt_windows_ai_machinelearning.TensorFeatureDescriptor
|
|
93
|
+
TensorFloat = _winrt_windows_ai_machinelearning.TensorFloat
|
|
94
|
+
TensorFloat16Bit = _winrt_windows_ai_machinelearning.TensorFloat16Bit
|
|
95
|
+
TensorInt16Bit = _winrt_windows_ai_machinelearning.TensorInt16Bit
|
|
96
|
+
TensorInt32Bit = _winrt_windows_ai_machinelearning.TensorInt32Bit
|
|
97
|
+
TensorInt64Bit = _winrt_windows_ai_machinelearning.TensorInt64Bit
|
|
98
|
+
TensorInt8Bit = _winrt_windows_ai_machinelearning.TensorInt8Bit
|
|
99
|
+
TensorString = _winrt_windows_ai_machinelearning.TensorString
|
|
100
|
+
TensorUInt16Bit = _winrt_windows_ai_machinelearning.TensorUInt16Bit
|
|
101
|
+
TensorUInt32Bit = _winrt_windows_ai_machinelearning.TensorUInt32Bit
|
|
102
|
+
TensorUInt64Bit = _winrt_windows_ai_machinelearning.TensorUInt64Bit
|
|
103
|
+
TensorUInt8Bit = _winrt_windows_ai_machinelearning.TensorUInt8Bit
|
|
104
|
+
ILearningModelFeatureDescriptor = _winrt_windows_ai_machinelearning.ILearningModelFeatureDescriptor
|
|
105
|
+
ILearningModelFeatureValue = _winrt_windows_ai_machinelearning.ILearningModelFeatureValue
|
|
106
|
+
ILearningModelOperatorProvider = _winrt_windows_ai_machinelearning.ILearningModelOperatorProvider
|
|
107
|
+
ITensor = _winrt_windows_ai_machinelearning.ITensor
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.AI.MachineLearning
|
|
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[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.Media[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
24
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
25
|
+
|
|
26
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
27
|
+
|
|
28
|
+
# winrt-Windows.AI.MachineLearning
|
|
29
|
+
|
|
30
|
+
Windows Runtime (WinRT) APIs for for the `Windows.AI.MachineLearning` namespace.
|
|
31
|
+
|
|
32
|
+
This package provides the `winrt.windows.ai.machinelearning` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ai_machinelearning.cp313-win_amd64.pyd,sha256=LQ1CEE39dSszrU-SjsFRybXSKmShwFg8j3Y_MSUBXB4,585728
|
|
2
|
+
winrt/_winrt_windows_ai_machinelearning.pyi,sha256=1kHEhHazcPz1wuZM3DrbakgbgFkFQZtWYmF1PDehwDo,34889
|
|
3
|
+
winrt/windows/ai/machinelearning/__init__.py,sha256=u9cg0zhfiHiwE-vt758kN4B7ZX-hggRfykVKNw1xsfk,3804
|
|
4
|
+
winrt/windows/ai/machinelearning/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.AI.MachineLearning-2.2.0.dist-info/METADATA,sha256=1tJoE3kihZBT4m4LnKEbmWPWqO1ETkmWCwEhWn_OX0w,1582
|
|
6
|
+
winrt_Windows.AI.MachineLearning-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.AI.MachineLearning-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.AI.MachineLearning-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|