The problem of calculating second-order derivatice with torch.autograd.grad

Hey, please refer to this post to understand why. Feel free to add follow up questions there.

1 Like