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