code: def weight_the_losses(self, exclude_loss=("total_loss",)):
      for k, _ in self.losses.items():
          if k not in exclude_loss:
              self.losses[k] *= self.loss_weights[k]
  
label_desc: Use image node_id 2 for calling the LossTracker obj's underlying member method code with example usage: obj.weight_the_losses(exclude_loss) without return types