(self, hidden_states)
| 752 | ) |
| 753 | |
| 754 | def forward(self, hidden_states): |
| 755 | # [s, b, 4hp] |
| 756 | intermediate_parallel = self.dense_h_to_4h(hidden_states) |
| 757 | intermediate_parallel = self.activation_func(intermediate_parallel) |
| 758 | # [s, b, h] |
| 759 | output = self.dense_4h_to_h(intermediate_parallel) |
| 760 | return output |
| 761 | |
| 762 | |
| 763 | class GLMBlock(torch.nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected