Inplace operations are disallowed if the tensor is needed to calculate the gradients during the backward pass as e.g. given in this example.
1 Like
Inplace operations are disallowed if the tensor is needed to calculate the gradients during the backward pass as e.g. given in this example.