class_docstr: DGL context strucure.
docstr: Synchronize until jobs finished at the context.
docstr_tok: ["Synchronize","until","jobs","finished","at","the","context","."]
code: def sync(self):
      """Synchronize until jobs finished at the context."""
      check_call(
          _LIB.DGLSynchronize(self.device_type, self.device_id, None)
      )
  
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 12 for calling the DGLContext obj's underlying member method code with example usage: obj.sync() without return types