Hello
I am in general confused which operations work with backward and which doesn’t.
Hello
I am in general confused which operations work with backward and which doesn’t.
Yes. You can always print the result of passing grad-requiring tensors and see if the result has a grad_fn
.
Best regards
Thomas