class_docstr: Implements the cross entropy loss function. It only compute the edge part.
  
  Args:
      edge_threshold (float): The pixels greater edge_threshold as edges.
      ignore_index (int64): Specifies a target value that is ignored
          and does not contribute to the input gradient. Default ``255``.
code: def __init__(self, edge_threshold=0.8, ignore_index=255):
      super().__init__()
      self.edge_threshold = edge_threshold
      self.ignore_index = ignore_index
      self.EPS = 1e-10
      self.mean_mask = 1
  
file_path: PaddleSeg/paddleseg/models/losses/edge_attention_loss.py
imports: import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager
  from paddleseg.models import losses
label_desc: Use image node_id 1 to create a new EdgeAttentionLoss object from inherited base classes: nn with example: obj = EdgeAttentionLoss(edge_threshold, ignore_index)