Commit 742808b
committed
Fix polynomial_autograd documentation to match implementation
The tutorial code uses exp(x) but the documentation incorrectly stated
it was learning sin(x). This fix updates the documentation to correctly
describe what the code does:
- Changed documentation from sin(x) from -π to π
- To exp(x) from -1 to 1
- Added explanation about Taylor expansion of exponential function
The code remains unchanged and continues to demonstrate fitting a
polynomial to the exponential function using PyTorch autograd.1 parent f99e9e8 commit 742808b
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments