winrt-Windows.AI.MachineLearning 2.0.0b1__tar.gz → 2.0.1__tar.gz
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-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/PKG-INFO +12 -2
- winrt_windows_ai_machinelearning-2.0.1/all-requirements.txt +10 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/py.Windows.AI.MachineLearning.cpp +11 -2
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/pyproject.toml +7 -4
- winrt_windows_ai_machinelearning-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/requirements.txt +2 -2
- winrt_windows_ai_machinelearning-2.0.1/setup.py +31 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/winrt/_winrt_windows_ai_machinelearning.pyi +45 -1
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/winrt/windows/ai/machinelearning/__init__.py +1 -1
- winrt_windows_ai_machinelearning-2.0.1/winrt/windows/ai/machinelearning/py.typed +0 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/winrt_Windows.AI.MachineLearning.egg-info/PKG-INFO +12 -2
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/winrt_Windows.AI.MachineLearning.egg-info/SOURCES.txt +1 -0
- winrt_windows_ai_machinelearning-2.0.1/winrt_Windows.AI.MachineLearning.egg-info/requires.txt +11 -0
- winrt-Windows.AI.MachineLearning-2.0.0b1/all-requirements.txt +0 -10
- winrt-Windows.AI.MachineLearning-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.AI.MachineLearning-2.0.0b1/setup.py +0 -17
- winrt-Windows.AI.MachineLearning-2.0.0b1/winrt_Windows.AI.MachineLearning.egg-info/requires.txt +0 -11
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/README.md +0 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/winrt_Windows.AI.MachineLearning.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/winrt_Windows.AI.MachineLearning.egg-info/top_level.txt +0 -0
{winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/PKG-INFO
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.AI.MachineLearning
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,16 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Graphics[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Media[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
15
25
|
|
|
16
26
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
27
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
5
|
+
winrt-Windows.Graphics[all]==2.0.1
|
|
6
|
+
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.0.1
|
|
7
|
+
winrt-Windows.Graphics.Imaging[all]==2.0.1
|
|
8
|
+
winrt-Windows.Media[all]==2.0.1
|
|
9
|
+
winrt-Windows.Storage[all]==2.0.1
|
|
10
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.AI.MachineLearning.h"
|
|
4
4
|
|
|
@@ -1293,9 +1293,18 @@ namespace py::cpp::Windows::AI::MachineLearning
|
|
|
1293
1293
|
{
|
|
1294
1294
|
try
|
|
1295
1295
|
{
|
|
1296
|
-
auto
|
|
1296
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
1297
|
+
auto value = self->obj.TryLookup(_key);
|
|
1297
1298
|
|
|
1298
1299
|
if (!value) {
|
|
1300
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
1301
|
+
{
|
|
1302
|
+
if (self->obj.HasKey(_key))
|
|
1303
|
+
{
|
|
1304
|
+
Py_RETURN_NONE;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1299
1308
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
1300
1309
|
return nullptr;
|
|
1301
1310
|
}
|
{winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/pyproject.toml
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
{winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/requirements.txt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_ai_machinelearning",
|
|
26
|
+
sources=["py.Windows.AI.MachineLearning.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -22,6 +22,7 @@ from winrt.windows.ai.machinelearning import LearningModelDeviceKind, LearningMo
|
|
|
22
22
|
|
|
23
23
|
Self = typing.TypeVar('Self')
|
|
24
24
|
|
|
25
|
+
@typing.final
|
|
25
26
|
class ImageFeatureDescriptor(winrt.system.Object):
|
|
26
27
|
@staticmethod
|
|
27
28
|
def _from(obj: winrt.system.Object, /) -> ImageFeatureDescriptor: ...
|
|
@@ -44,9 +45,11 @@ class ImageFeatureDescriptor(winrt.system.Object):
|
|
|
44
45
|
@_property
|
|
45
46
|
def name(self) -> str: ...
|
|
46
47
|
|
|
48
|
+
@typing.final
|
|
47
49
|
class ImageFeatureValue_Static(type):
|
|
48
50
|
def create_from_video_frame(cls, image: typing.Optional[winrt.windows.media.VideoFrame], /) -> typing.Optional[ImageFeatureValue]: ...
|
|
49
51
|
|
|
52
|
+
@typing.final
|
|
50
53
|
class ImageFeatureValue(winrt.system.Object, metaclass=ImageFeatureValue_Static):
|
|
51
54
|
@staticmethod
|
|
52
55
|
def _from(obj: winrt.system.Object, /) -> ImageFeatureValue: ...
|
|
@@ -55,6 +58,7 @@ class ImageFeatureValue(winrt.system.Object, metaclass=ImageFeatureValue_Static)
|
|
|
55
58
|
@_property
|
|
56
59
|
def kind(self) -> LearningModelFeatureKind: ...
|
|
57
60
|
|
|
61
|
+
@typing.final
|
|
58
62
|
class LearningModel_Static(type):
|
|
59
63
|
@typing.overload
|
|
60
64
|
def load_from_file_path(cls, file_path: str, /) -> typing.Optional[LearningModel]: ...
|
|
@@ -73,6 +77,7 @@ class LearningModel_Static(type):
|
|
|
73
77
|
@typing.overload
|
|
74
78
|
def load_from_stream_async(cls, model_stream: typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference], operator_provider: typing.Optional[ILearningModelOperatorProvider], /) -> winrt.windows.foundation.IAsyncOperation[LearningModel]: ...
|
|
75
79
|
|
|
80
|
+
@typing.final
|
|
76
81
|
class LearningModel(winrt.system.Object, metaclass=LearningModel_Static):
|
|
77
82
|
def __enter__(self: Self) -> Self: ...
|
|
78
83
|
def __exit__(self, *args) -> None: ...
|
|
@@ -96,6 +101,7 @@ class LearningModel(winrt.system.Object, metaclass=LearningModel_Static):
|
|
|
96
101
|
@_property
|
|
97
102
|
def version(self) -> winrt.system.Int64: ...
|
|
98
103
|
|
|
104
|
+
@typing.final
|
|
99
105
|
class LearningModelBinding(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object]):
|
|
100
106
|
def __len__(self) -> int: ...
|
|
101
107
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -116,9 +122,11 @@ class LearningModelBinding(winrt.system.Object, winrt._winrt.Mapping[str, winrt.
|
|
|
116
122
|
@_property
|
|
117
123
|
def size(self) -> winrt.system.UInt32: ...
|
|
118
124
|
|
|
125
|
+
@typing.final
|
|
119
126
|
class LearningModelDevice_Static(type):
|
|
120
127
|
def create_from_direct3_d11_device(cls, device: typing.Optional[winrt.windows.graphics.directx.direct3d11.IDirect3DDevice], /) -> typing.Optional[LearningModelDevice]: ...
|
|
121
128
|
|
|
129
|
+
@typing.final
|
|
122
130
|
class LearningModelDevice(winrt.system.Object, metaclass=LearningModelDevice_Static):
|
|
123
131
|
@staticmethod
|
|
124
132
|
def _from(obj: winrt.system.Object, /) -> LearningModelDevice: ...
|
|
@@ -128,6 +136,7 @@ class LearningModelDevice(winrt.system.Object, metaclass=LearningModelDevice_Sta
|
|
|
128
136
|
@_property
|
|
129
137
|
def direct3_d11_device(self) -> typing.Optional[winrt.windows.graphics.directx.direct3d11.IDirect3DDevice]: ...
|
|
130
138
|
|
|
139
|
+
@typing.final
|
|
131
140
|
class LearningModelEvaluationResult(winrt.system.Object):
|
|
132
141
|
@staticmethod
|
|
133
142
|
def _from(obj: winrt.system.Object, /) -> LearningModelEvaluationResult: ...
|
|
@@ -140,6 +149,7 @@ class LearningModelEvaluationResult(winrt.system.Object):
|
|
|
140
149
|
@_property
|
|
141
150
|
def succeeded(self) -> bool: ...
|
|
142
151
|
|
|
152
|
+
@typing.final
|
|
143
153
|
class LearningModelSession(winrt.system.Object):
|
|
144
154
|
def __enter__(self: Self) -> Self: ...
|
|
145
155
|
def __exit__(self, *args) -> None: ...
|
|
@@ -163,6 +173,7 @@ class LearningModelSession(winrt.system.Object):
|
|
|
163
173
|
@_property
|
|
164
174
|
def model(self) -> typing.Optional[LearningModel]: ...
|
|
165
175
|
|
|
176
|
+
@typing.final
|
|
166
177
|
class LearningModelSessionOptions(winrt.system.Object):
|
|
167
178
|
@staticmethod
|
|
168
179
|
def _from(obj: winrt.system.Object, /) -> LearningModelSessionOptions: ...
|
|
@@ -177,6 +188,7 @@ class LearningModelSessionOptions(winrt.system.Object):
|
|
|
177
188
|
@close_model_on_session_creation.setter
|
|
178
189
|
def close_model_on_session_creation(self, value: bool) -> None: ...
|
|
179
190
|
|
|
191
|
+
@typing.final
|
|
180
192
|
class MapFeatureDescriptor(winrt.system.Object):
|
|
181
193
|
@staticmethod
|
|
182
194
|
def _from(obj: winrt.system.Object, /) -> MapFeatureDescriptor: ...
|
|
@@ -193,6 +205,7 @@ class MapFeatureDescriptor(winrt.system.Object):
|
|
|
193
205
|
@_property
|
|
194
206
|
def value_descriptor(self) -> typing.Optional[ILearningModelFeatureDescriptor]: ...
|
|
195
207
|
|
|
208
|
+
@typing.final
|
|
196
209
|
class SequenceFeatureDescriptor(winrt.system.Object):
|
|
197
210
|
@staticmethod
|
|
198
211
|
def _from(obj: winrt.system.Object, /) -> SequenceFeatureDescriptor: ...
|
|
@@ -207,6 +220,7 @@ class SequenceFeatureDescriptor(winrt.system.Object):
|
|
|
207
220
|
@_property
|
|
208
221
|
def element_descriptor(self) -> typing.Optional[ILearningModelFeatureDescriptor]: ...
|
|
209
222
|
|
|
223
|
+
@typing.final
|
|
210
224
|
class TensorBoolean_Static(type):
|
|
211
225
|
@typing.overload
|
|
212
226
|
def create(cls) -> typing.Optional[TensorBoolean]: ...
|
|
@@ -217,6 +231,7 @@ class TensorBoolean_Static(type):
|
|
|
217
231
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[bool], /) -> typing.Optional[TensorBoolean]: ...
|
|
218
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]: ...
|
|
219
233
|
|
|
234
|
+
@typing.final
|
|
220
235
|
class TensorBoolean(winrt.system.Object, metaclass=TensorBoolean_Static):
|
|
221
236
|
def __enter__(self: Self) -> Self: ...
|
|
222
237
|
def __exit__(self, *args) -> None: ...
|
|
@@ -232,6 +247,7 @@ class TensorBoolean(winrt.system.Object, metaclass=TensorBoolean_Static):
|
|
|
232
247
|
@_property
|
|
233
248
|
def tensor_kind(self) -> TensorKind: ...
|
|
234
249
|
|
|
250
|
+
@typing.final
|
|
235
251
|
class TensorDouble_Static(type):
|
|
236
252
|
@typing.overload
|
|
237
253
|
def create(cls) -> typing.Optional[TensorDouble]: ...
|
|
@@ -242,6 +258,7 @@ class TensorDouble_Static(type):
|
|
|
242
258
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Double], /) -> typing.Optional[TensorDouble]: ...
|
|
243
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]: ...
|
|
244
260
|
|
|
261
|
+
@typing.final
|
|
245
262
|
class TensorDouble(winrt.system.Object, metaclass=TensorDouble_Static):
|
|
246
263
|
def __enter__(self: Self) -> Self: ...
|
|
247
264
|
def __exit__(self, *args) -> None: ...
|
|
@@ -257,6 +274,7 @@ class TensorDouble(winrt.system.Object, metaclass=TensorDouble_Static):
|
|
|
257
274
|
@_property
|
|
258
275
|
def tensor_kind(self) -> TensorKind: ...
|
|
259
276
|
|
|
277
|
+
@typing.final
|
|
260
278
|
class TensorFeatureDescriptor(winrt.system.Object):
|
|
261
279
|
@staticmethod
|
|
262
280
|
def _from(obj: winrt.system.Object, /) -> TensorFeatureDescriptor: ...
|
|
@@ -273,6 +291,7 @@ class TensorFeatureDescriptor(winrt.system.Object):
|
|
|
273
291
|
@_property
|
|
274
292
|
def tensor_kind(self) -> TensorKind: ...
|
|
275
293
|
|
|
294
|
+
@typing.final
|
|
276
295
|
class TensorFloat_Static(type):
|
|
277
296
|
@typing.overload
|
|
278
297
|
def create(cls) -> typing.Optional[TensorFloat]: ...
|
|
@@ -283,6 +302,7 @@ class TensorFloat_Static(type):
|
|
|
283
302
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Single], /) -> typing.Optional[TensorFloat]: ...
|
|
284
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]: ...
|
|
285
304
|
|
|
305
|
+
@typing.final
|
|
286
306
|
class TensorFloat(winrt.system.Object, metaclass=TensorFloat_Static):
|
|
287
307
|
def __enter__(self: Self) -> Self: ...
|
|
288
308
|
def __exit__(self, *args) -> None: ...
|
|
@@ -298,6 +318,7 @@ class TensorFloat(winrt.system.Object, metaclass=TensorFloat_Static):
|
|
|
298
318
|
@_property
|
|
299
319
|
def tensor_kind(self) -> TensorKind: ...
|
|
300
320
|
|
|
321
|
+
@typing.final
|
|
301
322
|
class TensorFloat16Bit_Static(type):
|
|
302
323
|
@typing.overload
|
|
303
324
|
def create(cls) -> typing.Optional[TensorFloat16Bit]: ...
|
|
@@ -308,6 +329,7 @@ class TensorFloat16Bit_Static(type):
|
|
|
308
329
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Single], /) -> typing.Optional[TensorFloat16Bit]: ...
|
|
309
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]: ...
|
|
310
331
|
|
|
332
|
+
@typing.final
|
|
311
333
|
class TensorFloat16Bit(winrt.system.Object, metaclass=TensorFloat16Bit_Static):
|
|
312
334
|
def __enter__(self: Self) -> Self: ...
|
|
313
335
|
def __exit__(self, *args) -> None: ...
|
|
@@ -323,6 +345,7 @@ class TensorFloat16Bit(winrt.system.Object, metaclass=TensorFloat16Bit_Static):
|
|
|
323
345
|
@_property
|
|
324
346
|
def tensor_kind(self) -> TensorKind: ...
|
|
325
347
|
|
|
348
|
+
@typing.final
|
|
326
349
|
class TensorInt16Bit_Static(type):
|
|
327
350
|
@typing.overload
|
|
328
351
|
def create(cls) -> typing.Optional[TensorInt16Bit]: ...
|
|
@@ -333,6 +356,7 @@ class TensorInt16Bit_Static(type):
|
|
|
333
356
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Int16], /) -> typing.Optional[TensorInt16Bit]: ...
|
|
334
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]: ...
|
|
335
358
|
|
|
359
|
+
@typing.final
|
|
336
360
|
class TensorInt16Bit(winrt.system.Object, metaclass=TensorInt16Bit_Static):
|
|
337
361
|
def __enter__(self: Self) -> Self: ...
|
|
338
362
|
def __exit__(self, *args) -> None: ...
|
|
@@ -348,6 +372,7 @@ class TensorInt16Bit(winrt.system.Object, metaclass=TensorInt16Bit_Static):
|
|
|
348
372
|
@_property
|
|
349
373
|
def tensor_kind(self) -> TensorKind: ...
|
|
350
374
|
|
|
375
|
+
@typing.final
|
|
351
376
|
class TensorInt32Bit_Static(type):
|
|
352
377
|
@typing.overload
|
|
353
378
|
def create(cls) -> typing.Optional[TensorInt32Bit]: ...
|
|
@@ -358,6 +383,7 @@ class TensorInt32Bit_Static(type):
|
|
|
358
383
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Int32], /) -> typing.Optional[TensorInt32Bit]: ...
|
|
359
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]: ...
|
|
360
385
|
|
|
386
|
+
@typing.final
|
|
361
387
|
class TensorInt32Bit(winrt.system.Object, metaclass=TensorInt32Bit_Static):
|
|
362
388
|
def __enter__(self: Self) -> Self: ...
|
|
363
389
|
def __exit__(self, *args) -> None: ...
|
|
@@ -373,6 +399,7 @@ class TensorInt32Bit(winrt.system.Object, metaclass=TensorInt32Bit_Static):
|
|
|
373
399
|
@_property
|
|
374
400
|
def tensor_kind(self) -> TensorKind: ...
|
|
375
401
|
|
|
402
|
+
@typing.final
|
|
376
403
|
class TensorInt64Bit_Static(type):
|
|
377
404
|
@typing.overload
|
|
378
405
|
def create(cls) -> typing.Optional[TensorInt64Bit]: ...
|
|
@@ -383,6 +410,7 @@ class TensorInt64Bit_Static(type):
|
|
|
383
410
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.Int64], /) -> typing.Optional[TensorInt64Bit]: ...
|
|
384
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]: ...
|
|
385
412
|
|
|
413
|
+
@typing.final
|
|
386
414
|
class TensorInt64Bit(winrt.system.Object, metaclass=TensorInt64Bit_Static):
|
|
387
415
|
def __enter__(self: Self) -> Self: ...
|
|
388
416
|
def __exit__(self, *args) -> None: ...
|
|
@@ -398,6 +426,7 @@ class TensorInt64Bit(winrt.system.Object, metaclass=TensorInt64Bit_Static):
|
|
|
398
426
|
@_property
|
|
399
427
|
def tensor_kind(self) -> TensorKind: ...
|
|
400
428
|
|
|
429
|
+
@typing.final
|
|
401
430
|
class TensorInt8Bit_Static(type):
|
|
402
431
|
@typing.overload
|
|
403
432
|
def create(cls) -> typing.Optional[TensorInt8Bit]: ...
|
|
@@ -408,6 +437,7 @@ class TensorInt8Bit_Static(type):
|
|
|
408
437
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt8], /) -> typing.Optional[TensorInt8Bit]: ...
|
|
409
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]: ...
|
|
410
439
|
|
|
440
|
+
@typing.final
|
|
411
441
|
class TensorInt8Bit(winrt.system.Object, metaclass=TensorInt8Bit_Static):
|
|
412
442
|
def __enter__(self: Self) -> Self: ...
|
|
413
443
|
def __exit__(self, *args) -> None: ...
|
|
@@ -423,6 +453,7 @@ class TensorInt8Bit(winrt.system.Object, metaclass=TensorInt8Bit_Static):
|
|
|
423
453
|
@_property
|
|
424
454
|
def tensor_kind(self) -> TensorKind: ...
|
|
425
455
|
|
|
456
|
+
@typing.final
|
|
426
457
|
class TensorString_Static(type):
|
|
427
458
|
@typing.overload
|
|
428
459
|
def create(cls) -> typing.Optional[TensorString]: ...
|
|
@@ -432,6 +463,7 @@ class TensorString_Static(type):
|
|
|
432
463
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[str], /) -> typing.Optional[TensorString]: ...
|
|
433
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]: ...
|
|
434
465
|
|
|
466
|
+
@typing.final
|
|
435
467
|
class TensorString(winrt.system.Object, metaclass=TensorString_Static):
|
|
436
468
|
def __enter__(self: Self) -> Self: ...
|
|
437
469
|
def __exit__(self, *args) -> None: ...
|
|
@@ -447,6 +479,7 @@ class TensorString(winrt.system.Object, metaclass=TensorString_Static):
|
|
|
447
479
|
@_property
|
|
448
480
|
def tensor_kind(self) -> TensorKind: ...
|
|
449
481
|
|
|
482
|
+
@typing.final
|
|
450
483
|
class TensorUInt16Bit_Static(type):
|
|
451
484
|
@typing.overload
|
|
452
485
|
def create(cls) -> typing.Optional[TensorUInt16Bit]: ...
|
|
@@ -457,6 +490,7 @@ class TensorUInt16Bit_Static(type):
|
|
|
457
490
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt16], /) -> typing.Optional[TensorUInt16Bit]: ...
|
|
458
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]: ...
|
|
459
492
|
|
|
493
|
+
@typing.final
|
|
460
494
|
class TensorUInt16Bit(winrt.system.Object, metaclass=TensorUInt16Bit_Static):
|
|
461
495
|
def __enter__(self: Self) -> Self: ...
|
|
462
496
|
def __exit__(self, *args) -> None: ...
|
|
@@ -472,6 +506,7 @@ class TensorUInt16Bit(winrt.system.Object, metaclass=TensorUInt16Bit_Static):
|
|
|
472
506
|
@_property
|
|
473
507
|
def tensor_kind(self) -> TensorKind: ...
|
|
474
508
|
|
|
509
|
+
@typing.final
|
|
475
510
|
class TensorUInt32Bit_Static(type):
|
|
476
511
|
@typing.overload
|
|
477
512
|
def create(cls) -> typing.Optional[TensorUInt32Bit]: ...
|
|
@@ -482,6 +517,7 @@ class TensorUInt32Bit_Static(type):
|
|
|
482
517
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt32], /) -> typing.Optional[TensorUInt32Bit]: ...
|
|
483
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]: ...
|
|
484
519
|
|
|
520
|
+
@typing.final
|
|
485
521
|
class TensorUInt32Bit(winrt.system.Object, metaclass=TensorUInt32Bit_Static):
|
|
486
522
|
def __enter__(self: Self) -> Self: ...
|
|
487
523
|
def __exit__(self, *args) -> None: ...
|
|
@@ -497,6 +533,7 @@ class TensorUInt32Bit(winrt.system.Object, metaclass=TensorUInt32Bit_Static):
|
|
|
497
533
|
@_property
|
|
498
534
|
def tensor_kind(self) -> TensorKind: ...
|
|
499
535
|
|
|
536
|
+
@typing.final
|
|
500
537
|
class TensorUInt64Bit_Static(type):
|
|
501
538
|
@typing.overload
|
|
502
539
|
def create(cls) -> typing.Optional[TensorUInt64Bit]: ...
|
|
@@ -507,6 +544,7 @@ class TensorUInt64Bit_Static(type):
|
|
|
507
544
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt64], /) -> typing.Optional[TensorUInt64Bit]: ...
|
|
508
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]: ...
|
|
509
546
|
|
|
547
|
+
@typing.final
|
|
510
548
|
class TensorUInt64Bit(winrt.system.Object, metaclass=TensorUInt64Bit_Static):
|
|
511
549
|
def __enter__(self: Self) -> Self: ...
|
|
512
550
|
def __exit__(self, *args) -> None: ...
|
|
@@ -522,6 +560,7 @@ class TensorUInt64Bit(winrt.system.Object, metaclass=TensorUInt64Bit_Static):
|
|
|
522
560
|
@_property
|
|
523
561
|
def tensor_kind(self) -> TensorKind: ...
|
|
524
562
|
|
|
563
|
+
@typing.final
|
|
525
564
|
class TensorUInt8Bit_Static(type):
|
|
526
565
|
@typing.overload
|
|
527
566
|
def create(cls) -> typing.Optional[TensorUInt8Bit]: ...
|
|
@@ -532,6 +571,7 @@ class TensorUInt8Bit_Static(type):
|
|
|
532
571
|
def create_from_iterable(cls, shape: typing.Iterable[winrt.system.Int64], data: typing.Iterable[winrt.system.UInt8], /) -> typing.Optional[TensorUInt8Bit]: ...
|
|
533
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]: ...
|
|
534
573
|
|
|
574
|
+
@typing.final
|
|
535
575
|
class TensorUInt8Bit(winrt.system.Object, metaclass=TensorUInt8Bit_Static):
|
|
536
576
|
def __enter__(self: Self) -> Self: ...
|
|
537
577
|
def __exit__(self, *args) -> None: ...
|
|
@@ -547,6 +587,7 @@ class TensorUInt8Bit(winrt.system.Object, metaclass=TensorUInt8Bit_Static):
|
|
|
547
587
|
@_property
|
|
548
588
|
def tensor_kind(self) -> TensorKind: ...
|
|
549
589
|
|
|
590
|
+
@typing.final
|
|
550
591
|
class ILearningModelFeatureDescriptor(winrt.system.Object):
|
|
551
592
|
@staticmethod
|
|
552
593
|
def _from(obj: winrt.system.Object, /) -> ILearningModelFeatureDescriptor: ...
|
|
@@ -559,16 +600,19 @@ class ILearningModelFeatureDescriptor(winrt.system.Object):
|
|
|
559
600
|
@_property
|
|
560
601
|
def name(self) -> str: ...
|
|
561
602
|
|
|
603
|
+
@typing.final
|
|
562
604
|
class ILearningModelFeatureValue(winrt.system.Object):
|
|
563
605
|
@staticmethod
|
|
564
606
|
def _from(obj: winrt.system.Object, /) -> ILearningModelFeatureValue: ...
|
|
565
607
|
@_property
|
|
566
608
|
def kind(self) -> LearningModelFeatureKind: ...
|
|
567
609
|
|
|
610
|
+
@typing.final
|
|
568
611
|
class ILearningModelOperatorProvider(winrt.system.Object):
|
|
569
612
|
@staticmethod
|
|
570
613
|
def _from(obj: winrt.system.Object, /) -> ILearningModelOperatorProvider: ...
|
|
571
614
|
|
|
615
|
+
@typing.final
|
|
572
616
|
class ITensor(winrt.system.Object):
|
|
573
617
|
@staticmethod
|
|
574
618
|
def _from(obj: winrt.system.Object, /) -> ITensor: ...
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.AI.MachineLearning
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,16 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Graphics[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Media[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
15
25
|
|
|
16
26
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
27
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_ai_machinelearning.pyi
|
|
9
9
|
winrt/windows/ai/machinelearning/__init__.py
|
|
10
|
+
winrt/windows/ai/machinelearning/py.typed
|
|
10
11
|
winrt_Windows.AI.MachineLearning.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.AI.MachineLearning.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.AI.MachineLearning.egg-info/dependency_links.txt
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
winrt-runtime==2.0.1
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
6
|
+
winrt-Windows.Graphics[all]==2.0.1
|
|
7
|
+
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.0.1
|
|
8
|
+
winrt-Windows.Graphics.Imaging[all]==2.0.1
|
|
9
|
+
winrt-Windows.Media[all]==2.0.1
|
|
10
|
+
winrt-Windows.Storage[all]==2.0.1
|
|
11
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Graphics[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Graphics.Imaging[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.Media[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.Storage[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_ai_machinelearning",
|
|
10
|
-
sources=["py.Windows.AI.MachineLearning.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
winrt-Windows.AI.MachineLearning-2.0.0b1/winrt_Windows.AI.MachineLearning.egg-info/requires.txt
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Graphics[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.Graphics.Imaging[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.Media[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.Storage[all]==2.0.0-beta.1
|
|
11
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
{winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/README.md
RENAMED
|
File without changes
|
{winrt-Windows.AI.MachineLearning-2.0.0b1 → winrt_windows_ai_machinelearning-2.0.1}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|