mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 06:58:11 -05:00
i hate tabs
This commit is contained in:
@@ -33,8 +33,8 @@ def test_pytorch():
|
||||
return outx.detach().numpy(), x.grad, W.grad
|
||||
|
||||
for x,y in zip(test_tinygrad(), test_pytorch()):
|
||||
print(x,y)
|
||||
np.testing.assert_allclose(x, y, atol=1e-6)
|
||||
|
||||
print(x,y)
|
||||
np.testing.assert_allclose(x, y, atol=1e-6)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user