.. _residual:

fairseq2.nn.residual
====================

.. currentmodule:: fairseq2.nn

.. autoclass:: ResidualConnect
   :members:
   :undoc-members:
   :show-inheritance:

.. autoclass:: AdditiveResidualConnect
   :members:
   :undoc-members:
   :show-inheritance:

.. autoclass:: ScaledResidualConnect
   :members:
   :undoc-members:
   :show-inheritance:
