for example, I want to keep conv1 and conv2 using the same weights
self.conv1 = nn.Conv2d(3, 3, kernel_size=3, stride=1)
self.conv2 = nn.Conv2d(3, 3, kernel_size=3, stride=1, dilation=2)
for example, I want to keep conv1 and conv2 using the same weights
self.conv1 = nn.Conv2d(3, 3, kernel_size=3, stride=1)
self.conv2 = nn.Conv2d(3, 3, kernel_size=3, stride=1, dilation=2)