DepthTensor 2.4.2__tar.gz → 2.5.0__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 (27) hide show
  1. {depthtensor-2.4.2 → depthtensor-2.5.0}/LICENSE +2 -2
  2. {depthtensor-2.4.2 → depthtensor-2.5.0}/PKG-INFO +6 -12
  3. {depthtensor-2.4.2 → depthtensor-2.5.0}/README.md +4 -11
  4. {depthtensor-2.4.2 → depthtensor-2.5.0}/pyproject.toml +1 -1
  5. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/__init__.py +1 -1
  6. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/ops/__init__.py +1 -2
  7. depthtensor-2.5.0/src/DepthTensor/_core/ops/elementwise.py +976 -0
  8. depthtensor-2.5.0/src/DepthTensor/_core/ops/function.py +15 -0
  9. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/ops/reduction.py +6 -3
  10. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/autodiff.py +7 -0
  11. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/tensor.py +82 -89
  12. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/typing.py +0 -54
  13. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/depthtensor.egg-info/PKG-INFO +6 -12
  14. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/depthtensor.egg-info/SOURCES.txt +1 -1
  15. depthtensor-2.4.2/src/DepthTensor/_core/ops/diff.py +0 -287
  16. depthtensor-2.4.2/src/DepthTensor/_core/ops/elementwise.py +0 -793
  17. {depthtensor-2.4.2 → depthtensor-2.5.0}/setup.cfg +0 -0
  18. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/__init__.py +0 -0
  19. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/exceptions.py +0 -0
  20. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/ops/comparison.py +0 -0
  21. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/ops/creation.py +0 -0
  22. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/random/__init__.py +0 -0
  23. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/random/generator.py +0 -0
  24. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/DepthTensor/_core/utils.py +0 -0
  25. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/depthtensor.egg-info/dependency_links.txt +0 -0
  26. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/depthtensor.egg-info/requires.txt +0 -0
  27. {depthtensor-2.4.2 → depthtensor-2.5.0}/src/depthtensor.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Le Hong Ha
3
+ Copyright (c) 2025 Ha Hong Le
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: depthtensor
3
- Version: 2.4.2
3
+ Version: 2.5.0
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
7
7
 
8
- Copyright (c) 2025 Le Hong Ha
8
+ Copyright (c) 2025 Ha Hong Le
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -24,6 +24,7 @@ License: MIT License
24
24
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
26
  SOFTWARE.
27
+
27
28
  Project-URL: Homepage, https://github.com/l-h-ha/DepthTensor
28
29
  Project-URL: Bug Tracker, https://github.com/l-h-ha/DepthTensor/issues
29
30
  Classifier: Programming Language :: Python :: 3
@@ -123,8 +124,8 @@ for i in range(500):
123
124
  y.data -= lr * y.grad # type: ignore
124
125
 
125
126
  # Zero grads
126
- x.zeros_grad()
127
- y.zeros_grad()
127
+ x.zero_grad()
128
+ y.zero_grad()
128
129
 
129
130
  if i % 10 == 0:
130
131
  print(loss.item())
@@ -139,14 +140,7 @@ Requirements:
139
140
  - `numpy`
140
141
  - `cupy` (optional: for NVIDIA GPU acceleration)
141
142
 
142
- ### 4.1. Bash
143
-
144
- ```bash
145
- git clone https://github.com/YourUsername/DepthTensor.git
146
- pip install -e .
147
- ```
148
-
149
- ### 4.2. Pip
143
+ ### Pip
150
144
 
151
145
  ```bash
152
146
  pip install depthtensor
@@ -83,8 +83,8 @@ for i in range(500):
83
83
  y.data -= lr * y.grad # type: ignore
84
84
 
85
85
  # Zero grads
86
- x.zeros_grad()
87
- y.zeros_grad()
86
+ x.zero_grad()
87
+ y.zero_grad()
88
88
 
89
89
  if i % 10 == 0:
90
90
  print(loss.item())
@@ -99,17 +99,10 @@ Requirements:
99
99
  - `numpy`
100
100
  - `cupy` (optional: for NVIDIA GPU acceleration)
101
101
 
102
- ### 4.1. Bash
103
-
104
- ```bash
105
- git clone https://github.com/YourUsername/DepthTensor.git
106
- pip install -e .
107
- ```
108
-
109
- ### 4.2. Pip
102
+ ### Pip
110
103
 
111
104
  ```bash
112
105
  pip install depthtensor
113
106
  ```
114
107
 
115
- ## Author: Le Hong Ha
108
+ ## Author: Le Hong Ha
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "depthtensor"
7
- version = "2.4.2"
7
+ version = "2.5.0"
8
8
  description = "A Hardware-Accelerated Tensor Computation and Autograd Engine"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -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.2"
9
+ __version__ = "2.5.0"
@@ -2,5 +2,4 @@ from .creation import *
2
2
  from .elementwise import *
3
3
  from .comparison import *
4
4
  from .reduction import *
5
-
6
- from .diff import *
5
+ from .function import *