A tiny autograd and neural-network toolkit with NumPy/CuPy support.
Project description
fygrad
A tiny autograd and neural-network toolkit with NumPy/CuPy support.
Install
pip install fygrad
Quick start
from fygrad import Node
x = Node("x", [[1.0, 2.0], [3.0, 4.0]])
y = F.sum(x * 2)
y.backward()
print(x.grad)
Notes
- GPU support uses CuPy if it is available.
- The API is intentionally minimal.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fygrad-0.1.0.tar.gz
(10.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
fygrad-0.1.0-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file fygrad-0.1.0.tar.gz.
File metadata
- Download URL: fygrad-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b016b32a9c84e20c85f15cd40a9db4662c9a04d7c02c3fe0795bbb5df044f4f
|
|
| MD5 |
bf03ec49abac286f721133a9c7c24be6
|
|
| BLAKE2b-256 |
bfb73a0df471169e22368ff0838665d7031e9ac3f315f4d2fd0675a10d6f2832
|
File details
Details for the file fygrad-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fygrad-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf80a70580e341f50d98ff52219e164599efe1d02635099a5f2d6a18999d3f80
|
|
| MD5 |
a1178696707c5488e05e3271d2a07074
|
|
| BLAKE2b-256 |
dcaea504a13e69a92f8d2b65ba9563ef2ee9b337972fcfe42e631e3822ac9582
|