Load and return additional previously-saved datapoints for this dataset. Args: path: The path to the persisted datapoint file. Returns: (Dataset) A dataset containing the loaded data.
(self, path: str)
| 157 | return spec |
| 158 | |
| 159 | def load(self, path: str): |
| 160 | """Load and return additional previously-saved datapoints for this dataset. |
| 161 | |
| 162 | Args: |
| 163 | path: The path to the persisted datapoint file. |
| 164 | |
| 165 | Returns: |
| 166 | (Dataset) A dataset containing the loaded data. |
| 167 | """ |
| 168 | if self._base is not None: |
| 169 | return self._base.load(path) |
| 170 | pass |
| 171 | |
| 172 | def save(self, examples: list[IndexedInput], path: str): |
| 173 | """Save newly-created datapoints to disk in a dataset-specific format. |