Length in characters of target documents
(self)
| 160 | |
| 161 | @cached_property |
| 162 | def tgt_lens(self): |
| 163 | """Length in characters of target documents""" |
| 164 | return self.get_char_lens(self.tgt_file) |
| 165 | |
| 166 | def make_sortish_sampler(self, batch_size, distributed=False, shuffle=True, **kwargs): |
| 167 | if distributed: |
nothing calls this directly
no test coverage detected