You could iterate all input channels, filters, and the depth of each filter to visualize the 3x3 kernel e.g. via matplotlib.pyplot.imshow.
I’m not aware of any good techniques to visualize 4D kernels.