Hello, everyone
As far as I know, model parameters (W and b) have settting requires_grad = True, by default
when they are intialized
Then, how about data matrix and label ??
Should I set requires_grad = True when I initialize data matrix (input data or batch data) as torch.tensor??
Also, should I set requires_grad = True when I input label vector into training as torch.tensor??
Thank you and have a nice day!