How would you build a fully connected neural network that learns eigenvalue decomposition efficiently?
I wanted to build NNs that can predict certain properties about matrices which are NP-hard to compute but might require eigenvalue decomposition. However, I am not sure if hardcode-calculating eigenvalues at any specific layer would be a good idea, because I feel the need to find eigenvalues shouldn't be pre-determined at a certain layer and maybe yield issues in backpropagating errors.
Ofcourse, I may be wrong and hence, looking for some advice.