code: def scale_gradient(self, module, grad_in, grad_out):
      return tuple(self.loss_scale * g for g in grad_in)
  
file_path: DALI/docs/examples/use_cases/video_superres/common/loss_scaler.py
imports: import torch
label_desc: Use image node_id 6 for calling the DynamicLossScaler obj's underlying member method code with example usage: obj.scale_gradient(module, grad_in, grad_out) and returns: tuple