docstr: ivy.Array instance method variant of ivy.full_like. This method
  simply wraps the function, and so the docstring for ivy.full_like also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array from which to derive the output array shape.
  fill_value
      Scalar fill value
  dtype
      output array data type. If ``dtype`` is `None`, the output array data type
      must be inferred from ``self``. Default: ``None``.
  device
      device on which to place the created array. If ``device`` is ``None``, the
      output array device must be inferred from ``self``. Default: ``None``.
  out
      optional output array, for writing the result to. It must have a shape that
      the inputs broadcast to.
  
  Returns
  -------
  ret
      an array having the same shape as ``self`` and where every element is equal
      to ``fill_value``.
  
  Examples
  --------
  With :code:`int` datatype:
  
  >>> x = ivy.array([1,2,3])
  >>> fill_value = 0
  >>> x.full_like(fill_value)
  ivy.array([0, 0, 0])
  
  With float datatype:
  
  >>> fill_value = 0.000123
  >>> x = ivy.array(ivy.ones(5))
  >>> y = x.full_like(fill_value)
  >>> print(y)
  ivy.array([0.000123, 0.000123, 0.000123, 0.000123, 0.000123])
  
  With :class:`ivy.Array` input:
  
  >>> x = ivy.array([1, 2, 3, 4, 5, 6])
  >>> fill_value = 1
  >>> y = x.full_like(fill_value)
  >>> print(y)
  ivy.array([1, 1, 1, 1, 1, 1])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.full_like",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.full_like","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","from","which","to","derive","the","output","array","shape",".","fill_value","Scalar","fill","value","dtype","output","array","data","type",".","If","``","dtype","``","is","`","None","`",",","the","output","array","data","type","must","be","inferred","from","``","self","``",".","Default",":","``","None","``",".","device","device","on","which","to","place","the","created","array",".","If","``","device","``","is","``","None","``",",","the","output","array","device","must","be","inferred","from","``","self","``",".","Default",":","``","None","``",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","an","array","having","the","same","shape","as","``","self","``","and","where","every","element","is","equal","to","``","fill_value","``",".","Examples","--","--","--","--","With",":","code",":","`","int","`","datatype",":",">",">",">","x","=","ivy.array","(","[","1,2,3","]",")",">",">",">","fill_value","=","0",">",">",">","x.full_like","(","fill_value",")","ivy.array","(","[","0",",","0",",","0","]",")","With","float","datatype",":",">",">",">","fill_value","=","0.000123",">",">",">","x","=","ivy.array","(","ivy.ones","(","5",")",")",">",">",">","y","=","x.full_like","(","fill_value",")",">",">",">","print","(","y",")","ivy.array","(","[","0.000123",",","0.000123",",","0.000123",",","0.000123",",","0.000123","]",")","With",":","class",":","`","ivy.Array","`","input",":",">",">",">","x","=","ivy.array","(","[","1",",","2",",","3",",","4",",","5",",","6","]",")",">",">",">","fill_value","=","1",">",">",">","y","=","x.full_like","(","fill_value",")",">",">",">","print","(","y",")","ivy.array","(","[","1",",","1",",","1",",","1",",","1",",","1","]",")"]
code: def full_like(
      self: ivy.Array,
      /,
      fill_value: float,
      *,
      dtype: Optional[Union[ivy.Dtype, ivy.NativeDtype]] = None,
      device: Optional[Union[ivy.Device, ivy.NativeDevice]] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.full_like. This method
      simply wraps the function, and so the docstring for ivy.full_like also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array from which to derive the output array shape.
      fill_value
          Scalar fill value
      dtype
          output array data type. If ``dtype`` is `None`, the output array data type
          must be inferred from ``self``. Default: ``None``.
      device
          device on which to place the created array. If ``device`` is ``None``, the
          output array device must be inferred from ``self``. Default: ``None``.
      out
          optional output array, for writing the result to. It must have a shape that
          the inputs broadcast to.
  
      Returns
      -------
      ret
          an array having the same shape as ``self`` and where every element is equal
          to ``fill_value``.
  
      Examples
      --------
      With :code:`int` datatype:
  
      >>> x = ivy.array([1,2,3])
      >>> fill_value = 0
      >>> x.full_like(fill_value)
      ivy.array([0, 0, 0])
  
      With float datatype:
  
      >>> fill_value = 0.000123
      >>> x = ivy.array(ivy.ones(5))
      >>> y = x.full_like(fill_value)
      >>> print(y)
      ivy.array([0.000123, 0.000123, 0.000123, 0.000123, 0.000123])
  
      With :class:`ivy.Array` input:
  
      >>> x = ivy.array([1, 2, 3, 4, 5, 6])
      >>> fill_value = 1
      >>> y = x.full_like(fill_value)
      >>> print(y)
      ivy.array([1, 1, 1, 1, 1, 1])
      """
      return ivy.full_like(
          self._data,
          fill_value=fill_value,
          dtype=dtype,
          device=device,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/array/creation.py
imports: import abc
  from numbers import Number
  from typing import Optional, Union, List
  import ivy
label_desc: Use image node_id 2 for calling the _ArrayWithCreation obj's underlying member method code with example usage: obj.full_like(fill_value) and returns: ivy