Is it possible that two instances of a convolutional layer in my init method can share same set of weights?
Ex:
self.conv1 = nn.Conv2d(…)
self.conv2 = MycustomConvFunction(…)
So I want self.conv1 and self.conv2 to share same set of weights.
Actually I want self.conv2 for inference and self.conv1 for training.