(
self,
input_ids: torch.LongTensor,
next_scores: torch.FloatTensor,
next_tokens: torch.LongTensor,
next_indices: torch.LongTensor,
**kwargs
)
| 117 | |
| 118 | @abstractmethod |
| 119 | def process( |
| 120 | self, |
| 121 | input_ids: torch.LongTensor, |
| 122 | next_scores: torch.FloatTensor, |
| 123 | next_tokens: torch.LongTensor, |
| 124 | next_indices: torch.LongTensor, |
| 125 | **kwargs |
| 126 | ) -> Tuple[torch.Tensor]: |
| 127 | raise NotImplementedError("This is an abstract method.") |
| 128 | |
| 129 | @abstractmethod |
| 130 | def finalize( |
nothing calls this directly
no outgoing calls
no test coverage detected