(self, hidden_states, attention_mask)
| 341 | self.head_mask = [None] * layer_num |
| 342 | |
| 343 | def forward(self, hidden_states, attention_mask): |
| 344 | extended_attention_mask = (1.0 - attention_mask) * -10000.0 |
| 345 | output = self.encoder(hidden_states, extended_attention_mask, self.head_mask) |
| 346 | return output |
nothing calls this directly
no outgoing calls
no test coverage detected