PyTorch Forums
Second order differentiation doesn't work for "x + 1"
autograd
AlphaBetaGamma96
April 13, 2023, 10:20pm
4
Could have a look at
torch.func
library, that should give zeros instead (I think)
Second order derivatives fail on some (simple) functions
show post in topic