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.
Files changed (28) hide show
  1. {depthtensor-1.11.0/src/DepthTensor.egg-info → depthtensor-1.11.1}/PKG-INFO +1 -1
  2. {depthtensor-1.11.0 → depthtensor-1.11.1}/pyproject.toml +1 -1
  3. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/__init__.py +1 -1
  4. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/typing.py +6 -5
  5. {depthtensor-1.11.0 → depthtensor-1.11.1/src/DepthTensor.egg-info}/PKG-INFO +1 -1
  6. {depthtensor-1.11.0 → depthtensor-1.11.1}/LICENSE +0 -0
  7. {depthtensor-1.11.0 → depthtensor-1.11.1}/README.md +0 -0
  8. {depthtensor-1.11.0 → depthtensor-1.11.1}/setup.cfg +0 -0
  9. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/__init__.py +0 -0
  10. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/exceptions.py +0 -0
  11. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/__init__.py +0 -0
  12. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/comparison.py +0 -0
  13. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/creation.py +0 -0
  14. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/diff.py +0 -0
  15. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/elementwise.py +0 -0
  16. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/ops/reduction.py +0 -0
  17. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/random/__init__.py +0 -0
  18. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/random/generator.py +0 -0
  19. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/_core/utils.py +0 -0
  20. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/autodiff.py +0 -0
  21. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor/tensor.py +0 -0
  22. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/SOURCES.txt +0 -0
  23. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/dependency_links.txt +0 -0
  24. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/requires.txt +0 -0
  25. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/DepthTensor.egg-info/top_level.txt +0 -0
  26. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/example/example.py +0 -0
  27. {depthtensor-1.11.0 → depthtensor-1.11.1}/src/example/test.py +0 -0
  28. {depthtensor-1.11.0 → depthtensor-1.11.1}/tests/test_tensor.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DepthTensor
3
- Version: 1.11.0
3
+ Version: 1.11.1
4
4
  Description-Content-Type: text/markdown
5
5
  License-File: LICENSE
6
6
  Requires-Dist: numpy
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "DepthTensor"
7
- version = "1.11.0"
7
+ version = "1.11.1"
8
8
  readme = "README.md"
9
9
  dependencies = [
10
10
  "numpy"
@@ -4,4 +4,4 @@ from ._core import random, create_2in_1out, create_1in_1out
4
4
  from ._core.exceptions import *
5
5
  from .autodiff import differentiate
6
6
 
7
- __version__ = "1.11.0"
7
+ __version__ = "1.11.1"
@@ -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 = "cpu",
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 = "cpu",
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 = "cpu",
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 = "cpu",
88
+ device: DeviceLike,
88
89
  **kwds: Any
89
90
  ) -> OperandLike: ...
90
91
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DepthTensor
3
- Version: 1.11.0
3
+ Version: 1.11.1
4
4
  Description-Content-Type: text/markdown
5
5
  License-File: LICENSE
6
6
  Requires-Dist: numpy
File without changes
File without changes
File without changes