I have some doubts about pieces of codes:
    def init_conv(self, inp, out, weight, bias, convert=True):
        conv = nn.Conv2d(inp, out, 3, 2, 1, bias=True)
        if convert:
            weight = self.convert_to_torch_weight(weight)
        conv.weight.data = torch.Tensor(weight).float()  
        conv.bias.data = torch.Tensor(bias).float()  
        return conv

I just can’t understand  the “.data” in them, can anyone explain what it is used for?
I did’t find the parameter “data” in “nn.Conv2d” from “conv.py”
many thanks