class_docstr: Inherit this class to implement custom loss.
code: def __init__(self, **kwargs):
      super(Loss, self).__init__(**kwargs)
  
imports: import torch
  from nemo.core.classes.common import Serialization, Typing
label_desc: Use image node_id 1 to create a new Loss object from inherited base classes: torch.nn.modules.loss, Typing, Serialization with example: obj = Loss()