parameters: (self)
return_statement: return self.context
docstring: Device context of the array. Has the same meaning as context.
  
          Examples
          --------
          >>> x = mx.nd.array([1, 2, 3, 4])
          >>> x.device
          cpu(0)
          >>> type(x.device)
          <class 'mxnet.device.Device'>
          >>> y = mx.nd.zeros((2,3), mx.gpu(0))
          >>> y.device
          gpu(0)
docstring_summary: Device context of the array. Has the same meaning as context.
docstring_tokens: Device context of the array . Has the same meaning as context .
function: def device(self):
          """Device context of the array. Has the same meaning as context.
  
          Examples
          --------
          >>> x = mx.nd.array([1, 2, 3, 4])
          >>> x.device
          cpu(0)
          >>> type(x.device)
          <class 'mxnet.device.Device'>
          >>> y = mx.nd.zeros((2,3), mx.gpu(0))
          >>> y.device
          gpu(0)
          """
          return self.context
function_tokens: def device ( self ) : return self . context