Does this mean that the loss functions does not have the attribute requires_grad=True ? And if not, how do I set these tensors to have this attribute.
I saw in another post that you said loss.requries_grad =True will result in undesirable things. Thanks!