class_docstr: Integration of DiceLoss on both binary
      prediction and thresh prediction.
code: def __init__(self, eps=1e-6):
      super(AdaptiveDiceLoss, self).__init__()
      from .dice_loss import DiceLoss
  
      self.main_loss = DiceLoss(eps)
      self.thresh_loss = DiceLoss(eps)
  
imports: import sys
  import torch
  import torch.nn
label_desc: Use image node_id 1 to create a new AdaptiveDiceLoss object from inherited base classes: nn with example: obj = AdaptiveDiceLoss(eps)