(self)
| 113 | return self.len |
| 114 | |
| 115 | def __next__(self): |
| 116 | if self.tput_timer: |
| 117 | self.tput_timer.start() |
| 118 | if self.curriculum_learning_enabled: |
| 119 | data = next(self.data_iterator) |
| 120 | if self.post_process_func is not None: |
| 121 | data = self.post_process_func(data, self.data_sampler.state_dict()) |
| 122 | return data |
| 123 | else: |
| 124 | return next(self.data) |
| 125 | |
| 126 | def _create_dataloader(self): |
| 127 | if self.curriculum_learning_enabled: |
nothing calls this directly
no test coverage detected