Hi,
As far as my understanding, the attribute ‘‘requires_grad’’ of  a parameter should be True if the parameter needs to be updated. But in my code, I find that a “Conv2d.weight.data.requires_grad”  is False.
I just added the conv layer as the normal way: self.conv1 = nn.Conv2d(…)
Is there something wrong with my understanding or with my code?