docstr: ivy.Array instance method variant of ivy.softmax. This method simply
  wraps the function, and so the docstring for ivy.softmax also applies
  to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array.
  axis
      the axis or axes along which the 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 softmax activation function applied element-wise.
  
  Examples
  --------
  >>> x = ivy.array([1.0, 0, 1.0])
  >>> y = x.softmax()
  >>> print(y)
  ivy.array([0.422, 0.155, 0.422])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.softmax",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.softmax","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array",".","axis","the","axis","or","axes","along","which","the","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","softmax","activation","function","applied","element-wise",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","1.0",",","0",",","1.0","]",")",">",">",">","y","=","x.softmax","(",")",">",">",">","print","(","y",")","ivy.array","(","[","0.422",",","0.155",",","0.422","]",")"]
code: def softmax(
      self: ivy.Array,
      /,
      *,
      axis: Optional[int] = None,
      complex_mode: Literal["split", "magnitude", "jax"] = "jax",
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.softmax. This method simply
      wraps the function, and so the docstring for ivy.softmax also applies
      to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array.
      axis
          the axis or axes along which the 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 softmax activation function applied element-wise.
  
      Examples
      --------
      >>> x = ivy.array([1.0, 0, 1.0])
      >>> y = x.softmax()
      >>> print(y)
      ivy.array([0.422, 0.155, 0.422])
      """
      return ivy.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 5 for calling the _ArrayWithActivations obj's underlying member method code with example usage: obj.softmax() and returns: ivy