(self, hidden_states)
| 85 | return F.gelu(gate.to(dtype=torch.float32), approximate=self.approximate).to(dtype=gate.dtype) |
| 86 | |
| 87 | def forward(self, hidden_states): |
| 88 | hidden_states = self.proj(hidden_states) |
| 89 | hidden_states = self.gelu(hidden_states) |
| 90 | return hidden_states |
| 91 | |
| 92 | |
| 93 | class GEGLU(nn.Module): |