Since you want to update it for conv layer alone. The code should not be self.convnet1.weight, it should be self.convnet1[0].weight. Make this change and check.
self.weight = torch.randn((2, 4, 6), requires_grad = True)
self.convnet1[0].weight = nn.Parameter(self.weight)