tf.keras.ops.svd

Computes the singular value decomposition of a matrix.

x Input tensor of shape (..., M, N).

A tuple of three tensors: a tensor of shape (..., M, M) containing the left singular vectors, a tensor of shape (..., M, N) containing the singular values and a tensor of shape (..., N, N) containing the right singular vectors.