(self)
| 121 | return len(self.loader) |
| 122 | |
| 123 | def __next__(self): |
| 124 | if self.iterator is None: |
| 125 | self.iterator = iter(self.loader) |
| 126 | |
| 127 | try: |
| 128 | samples = next(self.iterator) |
| 129 | except StopIteration: |
| 130 | self.iterator = iter(self.loader) |
| 131 | samples = next(self.iterator) |
| 132 | |
| 133 | return samples |
nothing calls this directly
no outgoing calls
no test coverage detected