Pytorch: a shared conv layer

you can look at this thread or you can copy the weights of convolutional layer from one to another whenever you make a change to any one of them like model.conv1.weight=model2.conv1.weight