(self, config, weights, biases)
| 340 | class BertIntermediate(nn.Module): |
| 341 | |
| 342 | def __init__(self, config, weights, biases): |
| 343 | super(BertIntermediate, self).__init__() |
| 344 | self.dense_act = LinearActivation(config.hidden_size, |
| 345 | config.intermediate_size, |
| 346 | weights, |
| 347 | biases, |
| 348 | act=config.hidden_act) |
| 349 | |
| 350 | def forward(self, hidden_states): |
| 351 | hidden_states = self.dense_act(hidden_states) |
nothing calls this directly
no test coverage detected