<reponame>pitmonticone/backpack<filename>backpack/extensions/secondorder/sqrt_ggn/pad.py
"""Contains ``SqrtGGN{Exact, MC}`` extension for BackPACK's custom ``Pad`` module."""

from backpack.core.derivatives.pad import PadDerivatives
from backpack.extensions.secondorder.sqrt_ggn.base import SqrtGGNBaseModule


class SqrtGGNPad(SqrtGGNBaseModule):
    """``SqrtGGN{Exact, MC}`` extension for ``backpack.custom_modules.pad.Pad``."""

    def __init__(self):
        """Pass derivatives for ``backpack.custom_modules.pad.Pad`` module."""
        super().__init__(PadDerivatives())
