src/transformers/models/layoutlmv2/modeling_layoutlmv2.py/LayoutLMv2Intermediate/forward
class LayoutLMv2Intermediate:    def forward(self, hidden_states):
        hidden_states = self.dense(hidden_states)
        hidden_states = self.intermediate_act_fn(hidden_states)
        return hidden_states