code: def pinv(
      x: JaxArray,
      /,
      *,
      rtol: Optional[Union[float, Tuple[float]]] = None,
      out: Optional[JaxArray] = None,
  ) -> JaxArray:
      if rtol is None:
          ret = jnp.linalg.pinv(x)
      else:
          ret = jnp.linalg.pinv(x, rtol)
      return ret
  
imports: from collections import namedtuple
  from typing import Union, Optional, Tuple, Literal, Sequence, NamedTuple
  import jax.numpy
  import ivy
  from ivy import inf
  from ivy.func_wrapper import with_unsupported_dtypes
  from ivy.functional.backends.jax import JaxArray
  from .None import backend_version
  from ivy import promote_types_of_inputs
label_desc: Use image node_id 17 for calling a global function with example usage: pinv() and returns: ret