code: def __init__(self, loss_scale=0.1):
      super().__init__()
      self.loss_scale = loss_scale
  
imports: import torch
  import torch.nn.functional
  from nemo.collections.tts.modules.transformer import mask_from_lens
  from nemo.core.classes import Loss, typecheck
  from nemo.core.neural_types.elements import LengthsType, LossType, MelSpectrogramType, RegressionValuesType, TokenDurationType, TokenLogDurationType
  from nemo.core.neural_types.neural_type import NeuralType
label_desc: Use image node_id 1 to create a new PitchLoss object from inherited base classes: Loss with example: obj = PitchLoss(loss_scale)