I am coding an Autoencoder with keras
.
I have in input a symmetric matrix which I split into N sub-matrices in order to train my deep-learning framework.
As this matrix is symmetric, I would like to give in input a lower triangular matrix instead. However, half of the sub-matrices will then be "empty" (equal to 0s), which is not super nice for the training. I can remove all the empty sub-matrices, but the ones coming from the matrix diagonal will still be half empty/half filled. Another option would be to split the lower triangular matrix into triangles instead of squares.
The problem is that I don't know if keras
layers support shape another than squares as input of the framework.