code: def __init__(self, scale=1):
      self.cur_scale = scale
  
file_path: DALI/docs/examples/use_cases/video_superres/common/loss_scaler.py
imports: import torch
label_desc: Use image node_id 1 to create a new LossScaler object  with example: obj = LossScaler(scale)