(self)
| 125 | yield batch |
| 126 | |
| 127 | def __len__(self): |
| 128 | if self.drop_last: |
| 129 | return len(self.sampler) // self.batch_size |
| 130 | else: |
| 131 | return (len(self.sampler) + self.batch_size - 1) // self.batch_size |
nothing calls this directly
no outgoing calls
no test coverage detected