You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
The reason is that np.linalg.svd returns the full U, V^\dagger matrices by default (unlike pytorch and TF which return the reduced SVD by default). Hence when only max_singular_values is specified and it is larger than min(rank(U),rank(V^\dagger)), svd_decompostion will try to reshape one of the matrices to the wrong shape (U in this case).