(self, config)
| 423 | |
| 424 | class BertIntermediate(nn.Module): |
| 425 | def __init__(self, config): |
| 426 | super(BertIntermediate, self).__init__() |
| 427 | self.dense_act = LinearActivation(config.hidden_size, config.intermediate_size, act=config.hidden_act) |
| 428 | |
| 429 | def forward(self, hidden_states): |
| 430 | hidden_states = self.dense_act(hidden_states) |
nothing calls this directly
no test coverage detected