nanotorch implementation

This commit is contained in:
2025-11-17 21:32:28 +05:30
parent 618423e8d2
commit a6e32fcc71
19 changed files with 809 additions and 2 deletions

View File

@@ -101,4 +101,4 @@ class Value:
self.grad = 1.0
for node in reversed(topo):
node._backward()
node._backward()

View File

@@ -1,5 +1,5 @@
import random
from micrograd.engine import Value
from engine import Value
class Neuron:
def __init__(self, n_inputs: int):