(self, hidden_states: torch.Tensor)
| 446 | self.intermediate_act_fn = config.hidden_act |
| 447 | |
| 448 | def forward(self, hidden_states: torch.Tensor) -> torch.Tensor: |
| 449 | hidden_states = self.dense(hidden_states) |
| 450 | hidden_states = self.intermediate_act_fn(hidden_states) |
| 451 | return hidden_states |
| 452 | |
| 453 | |
| 454 | class BertOutput(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected