code: def __init__(self, loss, **kwargs):
      super().__init__(**kwargs)
      loss_name = type(loss).__name__
      self.check_loss_support(loss_name)
  
imports: import torch
label_desc: Use image node_id 1 to create a new BaseLossWrapper object from inherited base classes: torch.nn with example: obj = BaseLossWrapper(loss)