zero or more batch dimensions.
  * **tol** (*float**, **Tensor**, **optional*) -- [NumPy Compat]
    Alias for "atol". Default: *None*.

Keyword Arguments:
      * atol (float, Tensor, optional) -- the absolute
        tolerance value. When None it's considered to be zero.
        Default: None.
  * **rtol** (*float**, **Tensor**, **optional*) -- the relative
    tolerance value. See above for the value it takes when *None*.
    Default: *None*.

  * **hermitian** (*bool*) -- indicates whether "A" is Hermitian
    if complex or symmetric if real. Default: *False*.

  * **out** (*Tensor**, **optional*) -- output tensor. Ignored if
    *None*. Default: *None*.

Examples:
  >>> A = torch.eye(10)
  >>> torch.linalg.matrix_rank(A)
  tensor(10)
  >>> B = torch.eye(10)
  >>> B[0, 0] = 0
  >>> torch.linalg.matrix_rank(B)
  tensor(9)

  >>> A = torch.randn(4, 3, 2)
  >>> torch.linalg.matrix_rank(A)
