I am trying to convert a Tensorflow Code to Pytorch. I am stuck at implementing this line.
Conv3DTranspose(nb_channels, kernel_size=(3, 3, 3), kernel_regularizer=l2(0.001), strides=_strides, padding='same')(y)

How to add a kernel_regulariser in pytorch.