How could I change the shared weight size when nn.Conv2d is applied?

As we all know, convolutional operator in CNN has shared weight property, the shared weight size is the whole image. If I want to change the shared weight size? For example, 4x4? How could I do that?