medium10 pts · first answer countsdeep-learningmathsdebugging
Checking a gradient numerically
To check the gradient of f(x) = x³ at x = 2, you compute (f(2.01) − f(1.99)) / 0.02. About what value should you get?
Discussion 0
Join free to post in the discussion.
Related questions
- Expected starting loss, 10 classesMachine Learning Engineer
- Parameters in nn.Linear(10, 5)Machine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Cross-entropy loss by handMachine Learning Engineer
- Telling autograd to track a tensorMachine Learning Engineer
- Why wrap inference in no_gradMachine Learning Engineer
- Logging loss without leaking memoryMachine Learning Engineer