code: def make_worker(worker_cls):
      class Worker(worker_cls, ClusterInfo):
          pass
  
      return Worker
  
file_path: BigDL/python/orca/src/bigdl/orca/learn/dl_cluster.py
imports: import ray
  from bigdl.orca.cpu_info import schedule_workers
  from bigdl.dllib.utils.log4Error import invalidInputError
  import os
  import sys
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: make_worker(worker_cls) and returns: Worker