Skip to content

Commit

Permalink
Update manual tanh() result
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Aug 26, 2024
1 parent c68cc3b commit 587402a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Example use:
>>> grad_tanh(1.0) # Evaluate the gradient at x = 1.0
np.float64(0.39322386648296376)
>>> (tanh(1.0001) - tanh(0.9999)) / 0.0002 # Compare to finite differences
0.41997434264973155
np.float64(0.39322386636453377)
```

We can continue to differentiate as many times as we like, and use numpy's
Expand Down

0 comments on commit 587402a

Please sign in to comment.