src/transformers/models/roberta_prelayernorm/modeling_roberta_prelayernorm.py/RobertaPreLayerNormIntermediate/forward
class RobertaPreLayerNormIntermediate:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        hidden_states = self.LayerNorm(hidden_states)
        hidden_states = self.dense(hidden_states)
        hidden_states = self.intermediate_act_fn(hidden_states)
        return hidden_states