class_docstr: DGL context strucure.
docstr: Maximum number of threads on each block.
docstr_tok: ["Maximum","number","of","threads","on","each","block","."]
code: def max_threads_per_block(self):
      """Maximum number of threads on each block."""
      return _api_internal._GetDeviceAttr(
          self.device_type, self.device_id, 1
      )
  
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 4 for calling the DGLContext obj's underlying member method code with example usage: obj.max_threads_per_block() and returns: _api_internal