code: def __init__(
      self, ignore_index=255, weights=None, data_format="NCHW"
  ):
      super(LaneCrossEntropyLoss, self).__init__()
      self.ignore_index = ignore_index
      self.weights = weights
  
file_path: PaddleSeg/contrib/LaneSeg/losses/lane_cross_entropy_loss.py
imports: import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager
label_desc: Use image node_id 1 to create a new LaneCrossEntropyLoss object from inherited base classes: nn with example: obj = LaneCrossEntropyLoss(ignore_index, weights, data_format)