code: def __init__(self, ignore_index=-1):
      super(TableMasterLoss, self).__init__()
      self.structure_loss = nn.CrossEntropyLoss(
          ignore_index=ignore_index, reduction="mean"
      )
      self.box_loss = nn.L1Loss(reduction="sum")
      self.eps = 1e-12
  
imports: import paddle
  from paddle import nn
label_desc: Use image node_id 1 to create a new TableMasterLoss object from inherited base classes: nn with example: obj = TableMasterLoss(ignore_index)