diff --git a/jax_dataloader/_modidx.py b/jax_dataloader/_modidx.py index 569657a..a5d2a15 100644 --- a/jax_dataloader/_modidx.py +++ b/jax_dataloader/_modidx.py @@ -38,16 +38,6 @@ 'jax_dataloader.datasets.Dataset.__len__': ( 'dataset.html#dataset.__len__', 'jax_dataloader/datasets.py')}, 'jax_dataloader.imports': {}, - 'jax_dataloader.loaders': { 'jax_dataloader.loaders.BaseDataLoader': ( 'loader.base.html#basedataloader', - 'jax_dataloader/loaders.py'), - 'jax_dataloader.loaders.BaseDataLoader.__init__': ( 'loader.base.html#basedataloader.__init__', - 'jax_dataloader/loaders.py'), - 'jax_dataloader.loaders.BaseDataLoader.__iter__': ( 'loader.base.html#basedataloader.__iter__', - 'jax_dataloader/loaders.py'), - 'jax_dataloader.loaders.BaseDataLoader.__len__': ( 'loader.base.html#basedataloader.__len__', - 'jax_dataloader/loaders.py'), - 'jax_dataloader.loaders.BaseDataLoader.__next__': ( 'loader.base.html#basedataloader.__next__', - 'jax_dataloader/loaders.py')}, 'jax_dataloader.loaders.base': { 'jax_dataloader.loaders.base.BaseDataLoader': ( 'loader.base.html#basedataloader', 'jax_dataloader/loaders/base.py'), 'jax_dataloader.loaders.base.BaseDataLoader.__init__': ( 'loader.base.html#basedataloader.__init__', diff --git a/jax_dataloader/loaders.py b/jax_dataloader/loaders.py deleted file mode 100644 index 83e42c5..0000000 --- a/jax_dataloader/loaders.py +++ /dev/null @@ -1,32 +0,0 @@ -# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/loader.base.ipynb. - -# %% ../nbs/loader.base.ipynb 3 -from __future__ import print_function, division, annotations -from .imports import * - -# %% auto 0 -__all__ = ['BaseDataLoader'] - -# %% ../nbs/loader.base.ipynb 4 -class BaseDataLoader: - """Dataloader Interface""" - - def __init__( - self, - dataset, - batch_size: int = 1, # batch size - shuffle: bool = False, # if true, dataloader shuffles before sampling each batch - num_workers: int = 0, # how many subprocesses to use for data loading. - drop_last: bool = False, - **kwargs - ): - pass - - def __len__(self): - raise NotImplementedError - - def __next__(self): - raise NotImplementedError - - def __iter__(self): - raise NotImplementedError