Matrix reconstruction by SVD in tensorflow

12 views Asked by At

Suppose A is a symmetric matrix whose SVD is A= USV^T, and let B = U\sqrt{S}V^T, then B^2 should be equal to A.

But when I implemented it using tensorflow, B^2 and A does not match. Highly appreciated if you could give some advice!

code

0

There are 0 answers