In a simple linear network:
4(input)—>100
100—>3(output)
With a tensor X for the input and Y for output. Where should I use requires_grad=True in X,Y or the nn.Linear creates weights tensors that have the requires_grad=True automatically set?