Based on the setup of nn.Conv2d you would use 128 kernels each with a shape of [in_channels=128, height=3, width=3]. Your layer won’t have a single 3x3 kernel, so you should instead save the layer.weight tensor (or better save layer.state_dict()).