class_docstr: LossScalarBase
  Base class for a loss scaler
class_docstr_tok: ["LossScalarBase","Base","class","for","a","loss","scaler"]
code: def __init__(self, cur_scale):
      self.cur_scale = cur_scale
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/fp16/loss_scaler.py
label_desc: Use image node_id 1 to create a new LossScalerBase object  with example: obj = LossScalerBase(cur_scale)