:py:mod:`tonic.dataset`
=======================

.. py:module:: tonic.dataset


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   tonic.dataset.Dataset




.. py:class:: Dataset(save_to: str, transform: collections.abc.Callable | None = None, target_transform: collections.abc.Callable | None = None, transforms: collections.abc.Callable | None = None)


   Base class for Tonic datasets which download public data.

   Contains a few helper function to reduce duplicated code.

   .. py:method:: __repr__()

      Return repr(self).


   .. py:method:: download() -> None

      Downloads from a given url, places into target folder and verifies the file hash.



