.. customcarditem::
   :header: KL Divergence
   :image: _static/fetched-s3-assets/tabular_classification.svg
   :tags: Regression

.. include:: ../links.rst

#############
KL Divergence
#############

Module Interface
________________

.. autoclass:: torchmetrics.KLDivergence
    :exclude-members: update, compute

Functional Interface
____________________

.. autofunction:: torchmetrics.functional.kl_divergence