code: def mish(
      x: Union[ivy.Array, ivy.NativeArray],
      /,
      *,
      complex_mode: Literal["split", "magnitude", "jax"] = "jax",
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Apply the mish activation function element-wise.
  
      Parameters
      ----------
      x
          input array
      complex_mode
          optional specifier for how to handle complex data types. See
          ``ivy.func_wrapper.handle_complex_input`` for more detail.
      out
          optional output array, for writing the result to. It must have a shape that the
          inputs broadcast to.
  
      Returns
      -------
      ret
          an array containing the mish activation of each element in
          ``x``.
  
      Examples
      --------
      With :class:`ivy.Array` input:
  
      >>> x = ivy.array([-1., 0., 1.])
      >>> y = ivy.mish(x)
      >>> print(y)
      ivy.array([-0.30340147,  0.        ,  0.86509842])
  
      >>> x = ivy.array([1.5, 0.7, -2.4])
      >>> y = ivy.zeros(3)
      >>> ivy.mish(x, out = y)
      >>> print(y)
      ivy.array([ 1.40337825,  0.56114835, -0.20788449])
  
      With :class:`ivy.Container` input:
  
      >>> x = ivy.Container(a=ivy.array([1.0, -1.2]), b=ivy.array([0.4, -0.2]))
      >>> x = ivy.mish(x)
      >>> print(x)
      {
          a: ivy.array([0.86509842, -0.30883577]),
          b: ivy.array([0.28903052, -0.10714479])
      }
      """
      return current_backend(x).mish(x, out=out)
  
imports: from typing import Union, Optional, Callable, Literal
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, handle_out_argument, to_native_arrays_and_back, handle_nestable, handle_array_like_without_promotion, handle_device, handle_complex_input, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 14 for calling a global function with example usage: mish() and returns: current_backend