S200331082:

I did’t find the parameter “data” in “nn.Conv2d” from “conv.py”


Conv2d.weight is inherited from the superclass _ConvNd of Conv2d, as you can see in the source code 1.
As you can see from the above link, ConvNd.weight is an object of type Parameter. And Parameter  has an attribute data, as you can see here 1.