class_docstr: DGL context strucure.
docstr: Return the number of compute units of device.
docstr_tok: ["Return","the","number","of","compute","units","of","device","."]
code: def multi_processor_count(self):
      """Return the number of compute units of device."""
      return _api_internal._GetDeviceAttr(
          self.device_type, self.device_id, 7
      )
  
imports: from __future__ import absolute_import
  import ctypes
  import json
  import numpy
  from ..None import _api_internal
  from .base import _LIB, check_call
label_desc: Use image node_id 10 for calling the DGLContext obj's underlying member method code with example usage: obj.multi_processor_count() and returns: _api_internal