MatrixRankΒΆ

Returns the numerical rank of a 2-D tensor.

Abstract Signature:

MatrixRank(input: Tensor, tol: float, symmetric: bool = False)

PyTorch

API: torch.linalg.matrix_rank
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.linalg.matrix_rank
Strategy: Direct Mapping

NumPy

API: numpy.linalg.matrix_rank
Strategy: Direct Mapping