Suppose I have one hidden layer fc, with layer size 30, input size 5, output size 2.
I can get weight between hidden layer and output layer by fc.weight.grad. But how could I get the weight that between input layer and fc?