Robingrad
Something between Tinygrad and Micrograd.
Installation
To install the current release,
pip install robingrad==0.1.0
From source
git clone https://github.com/marcosalvalaggio/robingrad.git
cd robingrad
./build.sh
Examples
- In the examples folder, you can find examples of models trained using the Robingrad library.
- A declaration example of an MLP net using Robingrad:
from robingrad import Tensor, draw_dot
import robingrad.nn as nn
class RobinNet:
def __init__(self):
self.l1 = nn.Linear(5,16)
self.l2 = nn.Linear(16,1)
def __call__(self, x):
x = self.l1(x)
x = x.relu()
x = self.l2(x)
return x
model = RobinNet()
res = model(X_train[0].reshape((1,5)))
draw_dot(res)
Metadata
Release files for robingrad 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robingrad-0.1.0.tar.gz | 10.7 kB | Without provenance | Details for robingrad-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robingrad-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for robingrad-0.1.0-py3-none-any.whl |
Total release size: 21.0 kB
Release files / robingrad-0.1.0.tar.gz
| Download URL | robingrad-0.1.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95681ee940d6fb1f32a45f785c5eeb60936b170e3e1d53cf18f474042a178ab4
|
|
BLAKE2b-256 checksum How to use checksums |
9891f1974082093ba7694ffa118f78cf6342f69d6c9f0f378d982ab8bedb3550
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Release files / robingrad-0.1.0-py3-none-any.whl
| Download URL | robingrad-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba2c932e0c300a73ad4cb05367793503361d7acda5e4adb4ba757d268fa36966
|
|
BLAKE2b-256 checksum How to use checksums |
f1a46c5f6062dc461efb4e54f8a6e4dd31410d867b7874917d8dbba9d27d8c63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Security for robingrad 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.