(
self, input_ids: npt.NDArray[np.intc], /, **kwargs: Any
)
| 55 | return np.array([], dtype=np.intc) |
| 56 | |
| 57 | def __call__( |
| 58 | self, input_ids: npt.NDArray[np.intc], /, **kwargs: Any |
| 59 | ) -> npt.NDArray[np.intc]: |
| 60 | return self.find_candidate_pred_tokens( |
| 61 | input_ids=input_ids, |
| 62 | max_ngram_size=self.max_ngram_size, |
| 63 | num_pred_tokens=self.num_pred_tokens, |
| 64 | ) |
nothing calls this directly
no test coverage detected