code: def matrix_rank(a, hermitian=False, **_unused_kwargs):
      return _torch.linalg.matrix_rank(a, hermitian=hermitian)
  
file_path: geomstats/geomstats/_backend/pytorch/linalg.py
imports: import numpy
  import scipy
  import torch
  from .._backend_config import np_atol
  from ..numpy import linalg
  from ._dtype import _cast_out_to_input_dtype
label_desc: Use image node_id 4 for calling a global function with example usage: matrix_rank(a, hermitian) and returns: _torch