Pytorch vs Numpy for second derivative evaluation: numerical issues
I’m new with pytorch and I would appreciate your help on a numerical issue I’m facing.
Specifically, I was trying to perform second derivative comparing numpy plots with pytorch ones.
Here the code and results with numpy: