code: def update_difficulty(self, global_steps):
      if (
          self.state[CURRICULUM_LEARNING_CURRENT_DIFFICULTY]
          < self.state[CURRICULUM_LEARNING_MAX_DIFFICULTY]
      ):
          self.state[
              CURRICULUM_LEARNING_CURRENT_DIFFICULTY
          ] = self.get_difficulty(global_steps)
      return self.state[CURRICULUM_LEARNING_CURRENT_DIFFICULTY]
  
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 10 for calling the CurriculumScheduler obj's underlying member method code with example usage: obj.update_difficulty(global_steps) and returns: self