docstr: ivy.Array instance method variant of ivy.sigmoid.
  
  This method simply wraps the function, and so the docstring for ivy.sigmoid also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      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 the same shape
      the input broadcast to default: None
  
  Returns
  -------
  ret
      an array with the sigmoid activation function applied element-wise.
  
  
  Examples
  --------
  >>> x = ivy.array([-1., 1., 2.])
  >>> y = x.sigmoid()
  >>> print(y)
  ivy.array([0.269, 0.731, 0.881])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.sigmoid",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.sigmoid","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","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","the","same","shape","the","input","broadcast","to","default",":","None","Returns","--","--","--","-","ret","an","array","with","the","sigmoid","activation","function","applied","element-wise",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","-1.",",","1.",",","2",".","]",")",">",">",">","y","=","x.sigmoid","(",")",">",">",">","print","(","y",")","ivy.array","(","[","0.269",",","0.731",",","0.881","]",")"]
code: def sigmoid(
      self: ivy.Array,
      /,
      *,
      complex_mode: Literal["split", "magnitude", "jax"] = "jax",
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.sigmoid.
  
      This method simply wraps the function, and so the docstring for ivy.sigmoid also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          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 the same shape
          the input broadcast to default: None
  
      Returns
      -------
      ret
          an array with the sigmoid activation function applied element-wise.
  
  
      Examples
      --------
      >>> x = ivy.array([-1., 1., 2.])
      >>> y = x.sigmoid()
      >>> print(y)
      ivy.array([0.269, 0.731, 0.881])
      """
      return ivy.sigmoid(self._data, 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 4 for calling the _ArrayWithActivations obj's underlying member method code with example usage: obj.sigmoid() and returns: ivy