class_docstr:     The loss function for coverage mechanism.
  Parameters
  ----------
  cover_loss: float
      The weight for coverage loss.
class_docstr_tok: ["The","loss","function","for","coverage","mechanism",".","Parameters","--","--","--","--","--","cover_loss",":","float","The","weight","for","coverage","loss","."]
code: def __init__(self, cover_loss):
      super(CoverageLoss, self).__init__()
      self.cover_loss = cover_loss
  
imports: import torch
  from .base import GeneralLossBase
label_desc: Use image node_id 1 to create a new CoverageLoss object from inherited base classes: GeneralLossBase with example: obj = CoverageLoss(cover_loss)