code: def __fixed_discrete_get_difficulty(self, global_steps):
      s_state = self.state[CURRICULUM_LEARNING_SCHEDULE_CONFIG]
      if (
          global_steps
          > s_state[CURRICULUM_LEARNING_SCHEDULE_MAX_STEP][-1]
      ):
          return s_state[CURRICULUM_LEARNING_SCHEDULE_DIFFICULTY][-1]
      for i in range(
          len(s_state[CURRICULUM_LEARNING_SCHEDULE_MAX_STEP])
      ):
          if (
              global_steps
              <= s_state[CURRICULUM_LEARNING_SCHEDULE_MAX_STEP][i]
          ):
              return s_state[CURRICULUM_LEARNING_SCHEDULE_DIFFICULTY][i]
  
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 7 for calling the CurriculumScheduler obj's underlying member method code with example usage: obj.__fixed_discrete_get_difficulty(global_steps) and returns: s_state, s_state