docstr: ivy.Array instance method variant of ivy.empty_like. This method
  simply wraps the function, and so the docstring for ivy.empty_like also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array from which to derive the output array shape.
  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 containing uninitialized
      data.
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.empty_like",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.empty_like","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","from","which","to","derive","the","output","array","shape",".","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","containing","uninitialized","data","."]
code: def empty_like(
      self: ivy.Array,
      /,
      *,
      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.empty_like. This method
      simply wraps the function, and so the docstring for ivy.empty_like also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array from which to derive the output array shape.
      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 containing uninitialized
          data.
      """
      return ivy.empty_like(
          self._data, 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 7 for calling the _ArrayWithCreation obj's underlying member method code with example usage: obj.empty_like() and returns: ivy