class_docstr: LossScalarBase
  Base class for a loss scaler
class_docstr_tok: ["LossScalarBase","Base","class","for","a","loss","scaler"]
code: def loss_scale(self):
      return self.cur_scale
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/fp16/loss_scaler.py
label_desc: Use image node_id 2 for calling the LossScalerBase obj's underlying member method code with example usage: obj.loss_scale() and returns: self