# API

```{eval-rst}
.. module:: annbatch
```

(loaders)=
## Loader

```{eval-rst}
.. autosummary::
   :toctree: generated/

    Loader
    Loader.__iter__
```

(io-helpers)=
## io helpers

```{eval-rst}
.. module:: annbatch
   :no-index:

.. autosummary::
   :toctree: generated/

    write_sharded
    DatasetCollection
```

(samplers)=
## Samplers

```{eval-rst}
.. module:: annbatch.samplers

.. autosummary::
   :toctree: generated/

    ClassSampler
    RandomSampler
    SequentialSampler
    DistributedSampler
```

(abc)=
## abc

```{eval-rst}
.. module:: annbatch.abc

.. autosummary::
   :toctree: generated/

    Sampler
```

(types)=
## types

```{eval-rst}
.. module:: annbatch.types

.. autosummary::
   :toctree: generated/

    LoaderOutput
    LoadRequest
```
