.. customcarditem::
   :header: Distance Intersection Over Union (dIoU)
   :image: https://pl-flash-data.s3.amazonaws.com/assets/thumbnails/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
