code: def adjoint(
      x: JaxArray,
      /,
      *,
      out: Optional[JaxArray] = None,
  ) -> JaxArray:
      _check_valid_dimension_size(x)
      axes = list(range(len(x.shape)))
      axes[-1], axes[-2] = axes[-2], axes[-1]
      return jnp.conjugate(jnp.transpose(x, axes=axes))
  
imports: import math
  from typing import Optional, Tuple, Sequence, Union
  import jax.numpy
  import jax.scipy.linalg
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.backends.jax import JaxArray
  import ivy
  from ivy.functional.ivy.experimental.linear_algebra import _check_valid_dimension_size
  from ivy.utils.exceptions import IvyNotImplementedException
  from .None import backend_version
label_desc: Use image node_id 6 for calling a global function with example usage: adjoint() and returns: jnp