code: def quantile(
      a,
      q,
      /,
      *,
      axis=None,
      out=None,
      overwrite_input=False,
      method="linear",
      keepdims=False,
      interpolation=None,
  ):
      if method == "nearest":
          return ivy.quantile(
              a,
              q,
              axis=axis,
              keepdims=keepdims,
              interpolation="nearest_jax",
              out=out,
          )
      return ivy.quantile(
          a,
          q,
          axis=axis,
          keepdims=keepdims,
          interpolation=method,
          out=out,
      )
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back, handle_jax_dtype
  from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs
  from ivy.functional.backends.jax.experimental.elementwise import _normalize_axis_tuple
label_desc: Use image node_id 24 for calling a global function with example usage: quantile() and returns: ivy, ivy