(self, config, weights, biases)
| 400 | class BertIntermediate(nn.Module): |
| 401 | |
| 402 | def __init__(self, config, weights, biases): |
| 403 | super(BertIntermediate, self).__init__() |
| 404 | self.dense_act = LinearActivation(config.hidden_size, |
| 405 | config.intermediate_size, |
| 406 | weights, |
| 407 | biases, |
| 408 | act=config.hidden_act) |
| 409 | |
| 410 | def forward(self, hidden_states): |
| 411 | hidden_states = self.dense_act(hidden_states) |
nothing calls this directly
no test coverage detected