Fix eigenvalue extraction: use gatherND for diagonal, not flatten
flatten() gave all 128x128 matrix elements instead of just the 128
diagonal eigenvalues. Use tf.gatherND with [[0,0],[1,1],...] index
pairs to extract the actual diagonal.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>