Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add context to NotImplementedErrors in dataset.py
Add helpful context message to `NotImplementedError`'s thrown by Dataset and IterableDataset, reminding users that they must implement `__getitem__`/`__iter__` in subclasses. Currently, users are presented with a bare `NotImplementedError` without describing the remedy.
- Loading branch information