(i)
| 175 | sorted_indices = list(self.make_sortish_sampler(1024, shuffle=False)) |
| 176 | |
| 177 | def num_tokens_in_example(i): |
| 178 | return min(self.src_lens[i], self.max_target_length) |
| 179 | |
| 180 | # call fairseq cython function |
| 181 | batch_sampler: List[List[int]] = batch_by_size( |
nothing calls this directly
no outgoing calls
no test coverage detected