(self, hidden_states)
| 404 | ) |
| 405 | |
| 406 | def forward(self, hidden_states): |
| 407 | # [s, b, 4hp] |
| 408 | intermediate_parallel = self.dense_h_to_4h(hidden_states) |
| 409 | intermediate_parallel = self.activation_func(intermediate_parallel) |
| 410 | # [s, b, h] |
| 411 | output = self.dense_4h_to_h(intermediate_parallel) |
| 412 | return output |
| 413 | |
| 414 | |
| 415 | class GLMBlock(torch.nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected