diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-08 22:29:11 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-08 22:29:11 +0530 |
commit | 40240b0b383abc2d3e81e2bcfe5e4b6d6fdfec2a (patch) | |
tree | 61c4b88b000bdc4566a76c090879ea6066343c9b /example.py | |
parent | fde98a1ee5e1ee4f5cc4e93654c4d3c2e5148576 (diff) |
Fix
Diffstat (limited to 'example.py')
-rwxr-xr-x | example.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -48,7 +48,6 @@ x1w1x2w2 = x1w1 + x2w2; x1w1x2w2.label = 'x1w1 + x2w2' L = x1w1x2w2 + b; L.label = 'L' o = L.tanh(); o.label = 'o' -print(o) o.zero_grad() o.backward() @@ -59,9 +58,7 @@ e = 2 * L f = e.exp() a = f - 1 b = f + 1 -print(a, b) o = a / b -print(o) o.zero_grad() o.backward() |