mirror of
https://github.com/kashifulhaque/smoltorch.git
synced 2025-12-06 07:02:51 +00:00
nanotorch implementation
This commit is contained in:
@@ -101,4 +101,4 @@ class Value:
|
||||
|
||||
self.grad = 1.0
|
||||
for node in reversed(topo):
|
||||
node._backward()
|
||||
node._backward()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import random
|
||||
from micrograd.engine import Value
|
||||
from engine import Value
|
||||
|
||||
class Neuron:
|
||||
def __init__(self, n_inputs: int):
|
||||
|
||||
Reference in New Issue
Block a user