.. customcarditem::
   :header: Total Variation (TV)
   :image: _static/fetched-s3-assets/image_classification.svg
   :tags: Image

.. include:: ../links.rst

####################
Total Variation (TV)
####################

Module Interface
________________

.. autoclass:: torchmetrics.image.TotalVariation
    :exclude-members: update, compute

Functional Interface
____________________

.. autofunction:: torchmetrics.functional.image.total_variation