MCPcopy
hub / github.com/tinygrad/tinygrad / __init__

Method __init__

test/testextra/test_lr_scheduler.py:18–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17class TinyBobNet:
18 def __init__(self):
19 self.l1 = Tensor.scaled_uniform(784, 128)
20 self.l2 = Tensor.scaled_uniform(128, 10)
21
22 def parameters(self):
23 return get_parameters(self)

Callers

nothing calls this directly

Calls 1

scaled_uniformMethod · 0.80

Tested by

no test coverage detected