(self, config)
| 991 | """ |
| 992 | |
| 993 | def __init__(self, config): |
| 994 | super().__init__() |
| 995 | self.start_n_top = config.start_n_top |
| 996 | self.end_n_top = config.end_n_top |
| 997 | |
| 998 | self.start_logits = PoolerStartLogits(config) |
| 999 | self.end_logits = PoolerEndLogits(config) |
| 1000 | self.answer_class = PoolerAnswerClass(config) |
| 1001 | |
| 1002 | def forward( |
| 1003 | self, hidden_states, start_positions=None, end_positions=None, cls_index=None, is_impossible=None, p_mask=None, |
nothing calls this directly
no test coverage detected