code: def logsigmoid(
      input: Union[ivy.NativeArray, ivy.Array],
      /,
      *,
      complex_mode: Literal["split", "magnitude", "jax"] = "jax",
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Apply element-wise Log-sigmoid of x.
  
      logsigmoid(x) = log(1 / (1 + exp(-x)).
  
      Parameters
      ----------
      input
          Input array.
      complex_mode
          optional specifier for how to handle complex data types. See
          ``ivy.func_wrapper.handle_complex_input`` for more detail.
  
      Returns
      -------
          Array with same shape as input with Log-sigmoid applied to every element.
  
      Examples
      --------
      With :class:`ivy.Array` input:
  
      >>> x = ivy.array([-1., 0., 1.])
      >>> z = x.logsigmoid()
      >>> print(z)
      ivy.array([-1.31326175, -0.69314718, -0.31326169])
  
      >>> x = ivy.array([1.5, 0.7, -2.4])
      >>> z = x.logsigmoid()
      >>> print(z)
      ivy.array([-0.20141329, -0.40318608, -2.48683619])
  
      With :class:`ivy.Container` input:
  
      >>> x = ivy.Container(a=ivy.array([1.0, -1.2]), b=ivy.array([0.2, 0.6]))
      >>> x = ivy.logsigmoid(x)
      >>> print(x)
      {
          a: ivy.array([-0.31326169, -1.46328247]),
          b: ivy.array([-0.59813893, -0.43748799])
      }
      """
      return ivy.current_backend(input).logsigmoid(input, out=out)
  
imports: from typing import Union, Optional, Callable, Literal
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.utils.exceptions import handle_exceptions
  from ivy.func_wrapper import handle_array_function, handle_nestable, to_native_arrays_and_back, handle_array_like_without_promotion, handle_out_argument, inputs_to_ivy_arrays, handle_device, handle_backend_invalid, handle_complex_input
label_desc: Use image node_id 7 for calling a global function with example usage: logsigmoid() and returns: ivy