.. customcarditem::
   :header: Distance Intersection Over Union (dIoU)
   :image: _static/fetched-s3-assets/object_detection.svg
   :tags: Detection

.. include:: ../links.rst

#######################################
Distance Intersection Over Union (dIoU)
#######################################

Module Interface
________________

.. autoclass:: torchmetrics.detection.diou.DistanceIntersectionOverUnion
    :exclude-members: update, compute

Functional Interface
____________________

.. autofunction:: torchmetrics.functional.detection.diou.distance_intersection_over_union