(self, hidden_states)
| 494 | ) |
| 495 | |
| 496 | def forward(self, hidden_states): |
| 497 | # [s, b, 4hp] |
| 498 | intermediate_parallel = self.dense_h_to_4h(hidden_states) |
| 499 | intermediate_parallel = self.activation_func(intermediate_parallel) |
| 500 | # [s, b, h] |
| 501 | output = self.dense_4h_to_h(intermediate_parallel) |
| 502 | return output |
| 503 | |
| 504 | |
| 505 | class GLMBlock(torch.nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected