How to share kernel weight between Conv2d while using different padding/dilation param

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)