docstr: ivy.Array instance method variant of ivy.log_softmax. This method
  simply wraps the function, and so the docstring for ivy.log_softmax
  also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array.
  axis
      the axis or axes along which the log_softmax should be computed
  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 with the log_softmax activation function applied element-wise.
  
  Examples
  --------
  >>> x = ivy.array([-1.0, -0.98, 2.3])
  >>> y = x.log_softmax()
  >>> print(y)
  ivy.array([-3.37, -3.35, -0.0719])
  
  >>> x = ivy.array([2.0, 3.4, -4.2])
  >>> y = x.log_softmax(x)
  ivy.array([-1.62, -0.221, -7.82 ])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.log_softmax",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.log_softmax","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array",".","axis","the","axis","or","axes","along","which","the","log_softmax","should","be","computed","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","with","the","log_softmax","activation","function","applied","element-wise",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","-1.0",",","-0.98",",","2.3","]",")",">",">",">","y","=","x.log_softmax","(",")",">",">",">","print","(","y",")","ivy.array","(","[","-3.37",",","-3.35",",","-0.0719","]",")",">",">",">","x","=","ivy.array","(","[","2.0",",","3.4",",","-4.2","]",")",">",">",">","y","=","x.log_softmax","(","x",")","ivy.array","(","[","-1.62",",","-0.221",",","-7.82","]",")"]
code: def log_softmax(
      self: ivy.Array,
      /,
      *,
      axis: Optional[int] = -1,
      complex_mode: Literal["split", "magnitude", "jax"] = "jax",
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.log_softmax. This method
      simply wraps the function, and so the docstring for ivy.log_softmax
      also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array.
      axis
          the axis or axes along which the log_softmax should be computed
      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 with the log_softmax activation function applied element-wise.
  
      Examples
      --------
      >>> x = ivy.array([-1.0, -0.98, 2.3])
      >>> y = x.log_softmax()
      >>> print(y)
      ivy.array([-3.37, -3.35, -0.0719])
  
      >>> x = ivy.array([2.0, 3.4, -4.2])
      >>> y = x.log_softmax(x)
      ivy.array([-1.62, -0.221, -7.82 ])
      """
      return ivy.log_softmax(
          self._data,
          axis=axis,
          complex_mode=complex_mode,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/array/activations.py
imports: import abc
  from typing import Optional, Union, Literal
  import ivy
label_desc: Use image node_id 7 for calling the _ArrayWithActivations obj's underlying member method code with example usage: obj.log_softmax() and returns: ivy