(self)
| 2882 | return isinstance(obj, torch.utils.data.IterableDataset) # hasattr(obj, "__iter__") should work as well |
| 2883 | |
| 2884 | def dataloader_drop_last(self): |
| 2885 | return self._config.dataloader_drop_last |
| 2886 | |
| 2887 | def was_step_applied(self) -> bool: |
| 2888 | """Returns True if the latest ``step()`` produced in parameter updates. |