src/transformers/models/perceiver/modeling_perceiver.py/PerceiverMLP/forward
class PerceiverMLP:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        hidden_states = self.dense1(hidden_states)
        hidden_states = self.intermediate_act_fn(hidden_states)
        hidden_states = self.dense2(hidden_states)
        return hidden_states