class_docstr: The dual task loss implement of GSCNN
  
  Args:
      ignore_index (int64): Specifies a target value that is ignored
          and does not contribute to the input gradient. Default ``255``.
      tau (float): the tau of gumbel softmax sample.
class_docstr_tok: ["The","dual","task","loss","implement","of","GSCNN","Args",":","ignore_index","(","int64",")",":","Specifies","a","target","value","that","is","ignored","and","does","not","contribute","to","the","input","gradient",".","Default","``","255","``",".","tau","(","float",")",":","the","tau","of","gumbel","softmax","sample","."]
code: def __init__(self, ignore_index=255, tau=0.5):
      super().__init__()
      self.ignore_index = ignore_index
      self.tau = tau
  
file_path: PaddleSeg/paddleseg/models/losses/gscnn_dual_task_loss.py
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager
label_desc: Use image node_id 1 to create a new DualTaskLoss object from inherited base classes: nn with example: obj = DualTaskLoss(ignore_index, tau)