Fix SVD gradient bug on batches of matrices
Fix a newly introduced bug in dealing with a gradient of SVD applied to a batch of matrices. s is a batch of vectors, not matrices, so we should use shape[:-1] to get the batch shape. PiperOrigin-RevId: 236134183
Loading
Please sign in to comment