Hello, so I don’t really get why it is that we need to give a grad tensor to tensor.backwards(). They say the grad should be the gradient of the tensor w.r.t itself but wouldn’t that just be a tensor of all ones?
If not could you please give an example where the gradient wouldn’t be all ones?
I feel like I’m missing something basic here. I’ve never done a vector calc course to be fair.
Also I’ve read this 3 and many similar posts, I still don’t understand it…