code: def get_num_opencl_platforms():
      assert (
          singa.USE_OPENCL
      ), "SINGA has not been compiled with OpenCL enabled."
      return singa.Platform.GetNumOpenclPlatforms()
  
file_path: singa/python/singa/device.py
imports: from .None import singa_wrap
label_desc: Use image node_id 4 for calling a global function with example usage: get_num_opencl_platforms() and returns: singa