class_docstr: Binary Lovasz hinge loss.
  
  Args:
      ignore_index (int64): Specifies a target value that is ignored and does not contribute to the input gradient. Default ``255``.
class_docstr_tok: ["Binary","Lovasz","hinge","loss",".","Args",":","ignore_index","(","int64",")",":","Specifies","a","target","value","that","is","ignored","and","does","not","contribute","to","the","input","gradient",".","Default","``","255","``","."]
code: def __init__(self, ignore_index=255):
      super(LovaszHingeLoss, self).__init__()
      self.ignore_index = ignore_index
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  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 LovaszHingeLoss object from inherited base classes: nn with example: obj = LovaszHingeLoss(ignore_index)