(self, hidden_states)
| 464 | ) |
| 465 | |
| 466 | def forward(self, hidden_states): |
| 467 | # [s, b, 4hp] |
| 468 | intermediate_parallel = self.dense_h_to_4h(hidden_states) |
| 469 | intermediate_parallel = self.activation_func(intermediate_parallel) |
| 470 | # [s, b, h] |
| 471 | output = self.dense_4h_to_h(intermediate_parallel) |
| 472 | return output |
| 473 | |
| 474 | |
| 475 | class GLMBlock(torch.nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected