code: def get_difficulty(self, global_steps):
      if self.state["schedule_type"] == "fixed_discrete":
          return self.__fixed_discrete_get_difficulty(global_steps)
      elif self.state["schedule_type"] == "fixed_linear":
          return self.__fixed_root_get_difficulty(global_steps, 1)
      elif self.state["schedule_type"] == "fixed_root":
          return self.__fixed_root_get_difficulty(global_steps)
      else:
          raise RuntimeError("Unsupported curriculum schedule type")
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/data_pipeline/curriculum_scheduler.py
imports: import math
  from deepspeed.utils import logger
label_desc: Use image node_id 8 for calling the CurriculumScheduler obj's underlying member method code with example usage: obj.get_difficulty(global_steps) and returns: self, self, self