Skip to main content

Robingrad


Maintenance stability-wip

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)

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)

Source distribution for robingrad 0.1.0
File Size Uploaded
robingrad-0.1.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robingrad 0.1.0
File Interpreter ABI Platform
robingrad-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page