PyTorch Forums
Zero'ing one input's gradient for Matrix Multiply
autograd
googlebot
(Alex)
January 13, 2022, 5:54pm
5
in the simplest case, you can just do something like x.detach() @ weights
1 Like
show post in topic