src/transformers/models/xlm_prophetnet/modeling_xlm_prophetnet.py/XLMProphetNetFeedForward/__init__
class XLMProphetNetFeedForward:    def __init__(self, config: XLMProphetNetConfig, ffn_dim: int):
        super().__init__()
        self.activation_fn = ACT2FN[config.activation_function]
        self.intermediate = nn.Linear(config.hidden_size, ffn_dim)
        self.output = nn.Linear(ffn_dim, config.hidden_size)
        self.activation_dropout = config.activation_dropout
        self.dropout = config.dropout