Return the number of batches.
(self)
| 362 | return self.name |
| 363 | |
| 364 | def __len__(self) -> int: |
| 365 | """Return the number of batches.""" |
| 366 | return (len(self.datas) + self.real_batch_size - 1) // self.real_batch_size |
| 367 | |
| 368 | def __iter__(self) -> Iterator[List[Dict]]: |
| 369 | """Initialize iteration.""" |
nothing calls this directly
no outgoing calls
no test coverage detected