class_docstr: Distance-IoU Loss, see https://arxiv.org/abs/1911.08287
  Args:
      loss_weight (float): giou loss weight, default as 1
      eps (float): epsilon to avoid divide by zero, default as 1e-10
      use_complete_iou_loss (bool): whether to use complete iou loss
code: def __init__(
      self, loss_weight=1.0, eps=1e-10, use_complete_iou_loss=True
  ):
      super(DIouLoss, self).__init__(loss_weight=loss_weight, eps=eps)
      self.use_complete_iou_loss = use_complete_iou_loss
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import math
  import paddle
  from ppdet.core.workspace import register, serializable
  from ..bbox_utils import bbox_iou
label_desc: Use image node_id 1 to create a new DIouLoss object from inherited base classes: GIoULoss with example: obj = DIouLoss(loss_weight, eps, use_complete_iou_loss)