src/transformers/models/lxmert/modeling_lxmert.py/LxmertIntermediate/__init__
class LxmertIntermediate:    def __init__(self, config):
        super().__init__()
        self.dense = nn.Linear(config.hidden_size, config.intermediate_size)
        self.intermediate_act_fn = ACT2FN[config.hidden_act]