docstr: ivy.Container 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
      contaioner of arrays 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.Container(a=ivy.array([[2, 3, 1], [3, 5, 3]]),
  ...                   b=ivy.native_array([[1, 2], [4, 5]]))
  >>> as_native = ivy.Container(a=False, b=True)
  >>> y = x.dev(as_native=as_native)
  >>> print(y)
  {
      a:cpu,
      b:cpu
  }
docstr_tok: ["ivy.Container","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","contaioner","of","arrays","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.Container","(","a=ivy.array","(","[","[","2",",","3",",","1","]",",","[","3",",","5",",","3","]","]",")",",","...","b=ivy.native_array","(","[","[","1",",","2","]",",","[","4",",","5","]","]",")",")",">",">",">","as_native","=","ivy.Container","(","a=False",",","b=True",")",">",">",">","y","=","x.dev","(","as_native=as_native",")",">",">",">","print","(","y",")","{","a",":","cpu",",","b",":","cpu","}"]
code: def dev(
      self: ivy.Container, as_native: Union[bool, ivy.Container] = False
  ) -> ivy.Container:
      """ivy.Container 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
          contaioner of arrays 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.Container(a=ivy.array([[2, 3, 1], [3, 5, 3]]),
      ...                   b=ivy.native_array([[1, 2], [4, 5]]))
      >>> as_native = ivy.Container(a=False, b=True)
      >>> y = x.dev(as_native=as_native)
      >>> print(y)
      {
          a:cpu,
          b:cpu
      }
      """
      return self._static_dev(self, as_native=as_native)
  
file_path: ivy/ivy/data_classes/container/device.py
imports: from typing import Union, Optional, Any, List, Dict
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 2 for calling the _ContainerWithDevice obj's underlying member method code with example usage: obj.dev(as_native) and returns: self