I have written a custom keras layer and basically set up a kernel that looks like this as an example:
[[w1, 0, 0],
[w2, w3, 0],
[0, w4, w5]]
where w1,...w5 are trainable weights and the zero entries are not trainable.
Now, I want to confirm if everything is working correctly (i.e. whether the kernel still has the zero entries where it should have it after training). I could not find out, how to print the kernel after training. The .get_weights() method just gets me the weights, but I want to print the kernel explictly.
Thank you in advance