code: def pinverse(input, rcond=1e-15):
      return ivy.pinv(input, rtol=rcond)
  
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 21 for calling a global function with example usage: pinverse(input, rcond) and returns: ivy