docstr: ivy.Array instance method variant of ivy.dev. This method simply
  wraps the function, and so the docstring for ivy.dev also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      array for which to get the device handle.
  as_native
      Whether or not to return the dev in native format. Default is ``False``.
  
  Examples
  --------
  >>> x = ivy.array([[2, 5, 4, 1], [3, 1, 5, 2]])
  >>> y = x.dev(as_native=True)
  >>> print(y)
  cpu
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.dev",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.dev","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","array","for","which","to","get","the","device","handle",".","as_native","Whether","or","not","to","return","the","dev","in","native","format",".","Default","is","``","False","``",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","[","2",",","5",",","4",",","1","]",",","[","3",",","1",",","5",",","2","]","]",")",">",">",">","y","=","x.dev","(","as_native=True",")",">",">",">","print","(","y",")","cpu"]
code: def dev(
      self: ivy.Array, *, as_native: bool = False
  ) -> Union[ivy.Device, ivy.NativeDevice]:
      """ivy.Array instance method variant of ivy.dev. This method simply
      wraps the function, and so the docstring for ivy.dev also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          array for which to get the device handle.
      as_native
          Whether or not to return the dev in native format. Default is ``False``.
  
      Examples
      --------
      >>> x = ivy.array([[2, 5, 4, 1], [3, 1, 5, 2]])
      >>> y = x.dev(as_native=True)
      >>> print(y)
      cpu
      """
      return ivy.dev(self, as_native=as_native)
  
imports: import abc
  from typing import Union, Optional, Any
  import ivy
label_desc: Use image node_id 1 for calling the _ArrayWithDevice obj's underlying member method code with example usage: obj.dev() and returns: ivy