(self)
| 1574 | return isinstance(obj, torch.utils.data.IterableDataset) # hasattr(obj, "__iter__") should work as well |
| 1575 | |
| 1576 | def dataloader_drop_last(self): |
| 1577 | return self._config.dataloader_drop_last |
| 1578 | |
| 1579 | def was_step_applied(self) -> bool: |
| 1580 | """Returns True if the latest ``step()`` produced in parameter updates. |