pyrefly-shape-extensions 1.2.0.dev3__py3-none-any.whl → 1.3.0.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyrefly_shape_extensions-1.2.0.dev3.dist-info → pyrefly_shape_extensions-1.3.0.dev1.dist-info}/METADATA +1 -1
- pyrefly_shape_extensions-1.3.0.dev1.dist-info/RECORD +7 -0
- shape_extensions/__init__.py +6 -0
- pyrefly_shape_extensions-1.2.0.dev3.dist-info/RECORD +0 -7
- {pyrefly_shape_extensions-1.2.0.dev3.dist-info → pyrefly_shape_extensions-1.3.0.dev1.dist-info}/WHEEL +0 -0
- {pyrefly_shape_extensions-1.2.0.dev3.dist-info → pyrefly_shape_extensions-1.3.0.dev1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyrefly-shape-extensions
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0.dev1
|
|
4
4
|
Summary: Shape typing primitives and DSL for Pyrefly tensor shape tracking
|
|
5
5
|
Project-URL: homepage, https://pyrefly.org
|
|
6
6
|
Project-URL: documentation, https://pyrefly.org/en/docs/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
shape_extensions/__init__.py,sha256=gi8ElHrsI7dcvJTxSOGzSktIkQfi9V8yky4paWRhY3g,10495
|
|
2
|
+
shape_extensions/dsl.py,sha256=QEGndUSJKvROYDzxVwZN4tFtuS1VBgNupibnV2muGTQ,1775
|
|
3
|
+
shape_extensions/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
+
pyrefly_shape_extensions-1.3.0.dev1.dist-info/METADATA,sha256=KNMwKuLV2TDvCZGgBPTPKNaPsSU6Xhb_mPhrkC9Rw-U,2317
|
|
5
|
+
pyrefly_shape_extensions-1.3.0.dev1.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
6
|
+
pyrefly_shape_extensions-1.3.0.dev1.dist-info/licenses/LICENSE,sha256=2m03A-0Ry-Qr0hLHJZV8mNojy_8ZmMBfpLPZdtGljpM,1088
|
|
7
|
+
pyrefly_shape_extensions-1.3.0.dev1.dist-info/RECORD,,
|
shape_extensions/__init__.py
CHANGED
|
@@ -263,6 +263,12 @@ def broadcast(*_args):
|
|
|
263
263
|
return IntTuple()
|
|
264
264
|
|
|
265
265
|
|
|
266
|
+
def type_shape_dsl_function[F: typing.Callable](fn: F) -> F:
|
|
267
|
+
"""Runtime no-op for a user-defined type-level shape DSL function."""
|
|
268
|
+
|
|
269
|
+
return fn
|
|
270
|
+
|
|
271
|
+
|
|
266
272
|
class IntVar:
|
|
267
273
|
"""Symbolic variable with arithmetic support for tensor shape dimensions.
|
|
268
274
|
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
shape_extensions/__init__.py,sha256=dWk2rCSIw1i1vPcRZtKvBNkoJ1SYNmuWEyYQY56WLdg,10343
|
|
2
|
-
shape_extensions/dsl.py,sha256=QEGndUSJKvROYDzxVwZN4tFtuS1VBgNupibnV2muGTQ,1775
|
|
3
|
-
shape_extensions/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
-
pyrefly_shape_extensions-1.2.0.dev3.dist-info/METADATA,sha256=-_lXGKcnSVcudWCJEtYLuFa1Eni47aaKkCXIiRdMf3c,2317
|
|
5
|
-
pyrefly_shape_extensions-1.2.0.dev3.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
6
|
-
pyrefly_shape_extensions-1.2.0.dev3.dist-info/licenses/LICENSE,sha256=2m03A-0Ry-Qr0hLHJZV8mNojy_8ZmMBfpLPZdtGljpM,1088
|
|
7
|
-
pyrefly_shape_extensions-1.2.0.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|