(self)
| 351 | return batch |
| 352 | |
| 353 | def batch_generator(self): |
| 354 | while True: |
| 355 | for batch in super().batch_generator(): |
| 356 | if len(batch) == self.batch_size: |
| 357 | yield batch |
| 358 | if self.mode != 'train': |
| 359 | break |
| 360 |
nothing calls this directly
no test coverage detected