src/transformers/models/roc_bert/modeling_roc_bert.py/RoCBertIntermediate/forward
class RoCBertIntermediate:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        hidden_states = self.dense(hidden_states)
        hidden_states = self.intermediate_act_fn(hidden_states)
        return hidden_states