code: def matrix_rank(input, tol=None, symmetric=False, *, out=None):
      return ivy.matrix_rank(
          input, atol=tol, hermitian=symmetric, out=out
      )
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  import ivy.functional.frontends.torch
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 17 for calling a global function with example usage: matrix_rank(input, tol, symmetric) and returns: ivy