I’m trying to change the weights for a Conv2d after randomly initializing it
self.convs.weight = torch.nn.Parameter(data=w, requires_grad=False)
But this only trains weights for convs and not w (a tensor)
And convs.weight can only be assigned a Parameter if I remember correctly
How do I train w and not convs.weight?