code: def get_difficulty(self, global_steps):
      if (
          self.state[CURRICULUM_LEARNING_SCHEDULE_TYPE]
          == CURRICULUM_LEARNING_SCHEDULE_FIXED_DISCRETE
      ):
          return self.__fixed_discrete_get_difficulty(global_steps)
      elif (
          self.state[CURRICULUM_LEARNING_SCHEDULE_TYPE]
          == CURRICULUM_LEARNING_SCHEDULE_FIXED_LINEAR
      ):
          return self.__fixed_root_get_difficulty(global_steps, 1)
      elif (
          self.state[CURRICULUM_LEARNING_SCHEDULE_TYPE]
          == CURRICULUM_LEARNING_SCHEDULE_FIXED_ROOT
      ):
          return self.__fixed_root_get_difficulty(global_steps)
      elif (
          self.state[CURRICULUM_LEARNING_SCHEDULE_TYPE]
          == CURRICULUM_LEARNING_SCHEDULE_CUSTOM
      ):
          return self.custom_get_difficulty(global_steps)
      else:
          raise RuntimeError("Unsupported curriculum schedule type")
  
file_path: deepspeed/deepspeed/runtime/data_pipeline/curriculum_scheduler.py
imports: import math
  from deepspeed.utils import logger
  from .constants import *
label_desc: Use image node_id 9 for calling the CurriculumScheduler obj's underlying member method code with example usage: obj.get_difficulty(global_steps) and returns: self, self, self, self