DepthTensor 1.11.0__tar.gz → 1.11.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.
- {depthtensor-1.11.0/src/DepthTensor.egg-info → depthtensor-1.11.1}/PKG-INFO +1 -1
- {depthtensor-1.11.0 → depthtensor-1.11.1}/pyproject.toml +1 -1
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/__init__.py +1 -1
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/typing.py +6 -5
- {depthtensor-1.11.0 → depthtensor-1.11.1/src/DepthTensor.egg-info}/PKG-INFO +1 -1
- {depthtensor-1.11.0 → depthtensor-1.11.1}/LICENSE +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/README.md +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/setup.cfg +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/__init__.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/exceptions.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/__init__.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/comparison.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/creation.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/diff.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/elementwise.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/reduction.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/random/__init__.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/random/generator.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/utils.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/autodiff.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/tensor.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/SOURCES.txt +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/dependency_links.txt +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/requires.txt +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/top_level.txt +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/example/example.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/src/example/test.py +0 -0
- {depthtensor-1.11.0 → depthtensor-1.11.1}/tests/test_tensor.py +0 -0
|
@@ -7,7 +7,8 @@ from typing import (
|
|
|
7
7
|
TYPE_CHECKING,
|
|
8
8
|
Protocol,
|
|
9
9
|
Any,
|
|
10
|
-
Callable
|
|
10
|
+
Callable,
|
|
11
|
+
Optional
|
|
11
12
|
)
|
|
12
13
|
|
|
13
14
|
if TYPE_CHECKING:
|
|
@@ -46,7 +47,7 @@ class Func_2in_1out_Protocol(Protocol):
|
|
|
46
47
|
x1: OperandLike,
|
|
47
48
|
x2: OperandLike,
|
|
48
49
|
*,
|
|
49
|
-
device: DeviceLike =
|
|
50
|
+
device: Optional[DeviceLike] = None,
|
|
50
51
|
requires_grad: bool = True,
|
|
51
52
|
**kwds: Any
|
|
52
53
|
) -> TensorLike: ...
|
|
@@ -57,7 +58,7 @@ class Op_2in_1out_Protocol(Protocol):
|
|
|
57
58
|
x1: NDArrayLike,
|
|
58
59
|
x2: NDArrayLike,
|
|
59
60
|
*,
|
|
60
|
-
device: DeviceLike
|
|
61
|
+
device: DeviceLike,
|
|
61
62
|
**kwds: Any
|
|
62
63
|
) -> OperandLike: ...
|
|
63
64
|
|
|
@@ -74,7 +75,7 @@ class Func_1in_1out_Protocol(Protocol):
|
|
|
74
75
|
self,
|
|
75
76
|
x: OperandLike,
|
|
76
77
|
*,
|
|
77
|
-
device: DeviceLike =
|
|
78
|
+
device: Optional[DeviceLike] = None,
|
|
78
79
|
requires_grad: bool = True,
|
|
79
80
|
**kwds: Any
|
|
80
81
|
) -> TensorLike: ...
|
|
@@ -84,7 +85,7 @@ class Op_1in_1out_Protocol(Protocol):
|
|
|
84
85
|
self,
|
|
85
86
|
x: NDArrayLike,
|
|
86
87
|
*,
|
|
87
|
-
device: DeviceLike
|
|
88
|
+
device: DeviceLike,
|
|
88
89
|
**kwds: Any
|
|
89
90
|
) -> OperandLike: ...
|
|
90
91
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|