(self, hidden_states)
| 577 | return torch.nn.functional.gelu(gate, approximate=self.approximate) |
| 578 | |
| 579 | def forward(self, hidden_states): |
| 580 | hidden_states = self.proj(hidden_states) |
| 581 | hidden_states = self.gelu(hidden_states) |
| 582 | return hidden_states |
| 583 | |
| 584 | |
| 585 | class FeedForward(nn.Module): |