DepthTensor 2.4.1__tar.gz → 2.4.2__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 (25) hide show
  1. {depthtensor-2.4.1 → depthtensor-2.4.2}/PKG-INFO +1 -1
  2. {depthtensor-2.4.1 → depthtensor-2.4.2}/pyproject.toml +3 -3
  3. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/__init__.py +1 -1
  4. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/ops/elementwise.py +3 -3
  5. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/depthtensor.egg-info/PKG-INFO +1 -1
  6. {depthtensor-2.4.1 → depthtensor-2.4.2}/LICENSE +0 -0
  7. {depthtensor-2.4.1 → depthtensor-2.4.2}/README.md +0 -0
  8. {depthtensor-2.4.1 → depthtensor-2.4.2}/setup.cfg +0 -0
  9. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/__init__.py +0 -0
  10. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/exceptions.py +0 -0
  11. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/ops/__init__.py +0 -0
  12. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/ops/comparison.py +0 -0
  13. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/ops/creation.py +0 -0
  14. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/ops/diff.py +0 -0
  15. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/ops/reduction.py +0 -0
  16. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/random/__init__.py +0 -0
  17. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/random/generator.py +0 -0
  18. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/_core/utils.py +0 -0
  19. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/autodiff.py +0 -0
  20. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/tensor.py +0 -0
  21. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/DepthTensor/typing.py +0 -0
  22. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/depthtensor.egg-info/SOURCES.txt +0 -0
  23. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/depthtensor.egg-info/dependency_links.txt +0 -0
  24. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/depthtensor.egg-info/requires.txt +0 -0
  25. {depthtensor-2.4.1 → depthtensor-2.4.2}/src/depthtensor.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: depthtensor
3
- Version: 2.4.1
3
+ Version: 2.4.2
4
4
  Summary: A Hardware-Accelerated Tensor Computation and Autograd Engine
5
5
  Author-email: Le Hong Ha <lehahong1310@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "depthtensor"
7
- version = "2.4.1"
7
+ version = "2.4.2"
8
8
  description = "A Hardware-Accelerated Tensor Computation and Autograd Engine"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -13,8 +13,8 @@ authors = [
13
13
  license = { file = "LICENSE" }
14
14
  classifiers = [
15
15
  "Programming Language :: Python :: 3",
16
- "Topic :: Scientific/Engineering :: Artificial Intelligence", # Fixed
17
- "License :: OSI Approved :: MIT License", # Fixed
16
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
17
+ "License :: OSI Approved :: MIT License",
18
18
  "Operating System :: OS Independent"
19
19
  ]
20
20
  requires-python = ">=3.8"
@@ -6,4 +6,4 @@ from ._core.ops import *
6
6
  from ._core.exceptions import *
7
7
  from ._core import random
8
8
 
9
- __version__ = "2.4.1"
9
+ __version__ = "2.4.2"
@@ -111,11 +111,11 @@ def create_2in_1out(op: BinaryOp, diff: BinaryDiff | None) -> BinaryFunc:
111
111
  if isinstance(x1, Tensor) and x1.requires_grad:
112
112
  if x1.grad is None:
113
113
  x1.zeros_grad()
114
- x1.grad += y.grad * dx1() # type: ignore (y.grad cannot be None)
114
+ x1.grad += dx1() # type: ignore (y.grad cannot be None)
115
115
  if isinstance(x2, Tensor) and x2.requires_grad:
116
116
  if x2.grad is None:
117
117
  x2.zeros_grad()
118
- x2.grad += y.grad * dx2() # type: ignore (y.grad cannot be None)
118
+ x2.grad += dx2() # type: ignore (y.grad cannot be None)
119
119
 
120
120
  y.backward = backward
121
121
  return y
@@ -177,7 +177,7 @@ def create_1in_1out(op: UnaryOp, diff: UnaryDiff | None) -> UnaryFunc:
177
177
  if isinstance(x, Tensor) and x.requires_grad:
178
178
  if x.grad is None:
179
179
  x.zeros_grad()
180
- x.grad += y.grad * dx() # type: ignore (y.grad cannot be None)
180
+ x.grad += dx() # type: ignore (y.grad cannot be None)
181
181
 
182
182
  y.backward = backward
183
183
  return y
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: depthtensor
3
- Version: 2.4.1
3
+ Version: 2.4.2
4
4
  Summary: A Hardware-Accelerated Tensor Computation and Autograd Engine
5
5
  Author-email: Le Hong Ha <lehahong1310@gmail.com>
6
6
  License: MIT License
File without changes
File without changes
File without changes