code: def __init__(self, loss_name):
      super().__init__()
      self.loss_name = loss_name
  
imports: import copy
  from paddleseg.utils import logger
  from paddleseg.utils import utils
label_desc: Use image node_id 1 to create a new DefaultLossRule object from inherited base classes: Rule with example: obj = DefaultLossRule(loss_name)