You could use @Kapil_Rana 's approach and combine it with iterating all modules:
for name, module in model.named_modules():
    if isinstance(module, nn.Conv2d):
        print(name, module.kernel_size)
        ...