(self, i, config, weights, biases)
| 384 | class BertAttention(nn.Module): |
| 385 | |
| 386 | def __init__(self, i, config, weights, biases): |
| 387 | super(BertAttention, self).__init__() |
| 388 | self.self = BertSelfAttention(i, config, weights, biases) |
| 389 | self.output = BertSelfOutput(config, weights, biases) |
| 390 | |
| 391 | def forward(self, input_tensor, attention_mask): |
| 392 | self_output = self.self(input_tensor, attention_mask) |
nothing calls this directly
no test coverage detected