:py:mod:`tonic.datasets.cifar10dvs`
===================================

.. py:module:: tonic.datasets.cifar10dvs


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

Classes
~~~~~~~

.. autoapisummary::

   tonic.datasets.cifar10dvs.CIFAR10DVS




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


   Bases: :py:obj:`tonic.dataset.Dataset`

   `CIFAR10-DVS <https://www.frontiersin.org/articles/10.3389/fnins.2017.00309/full>`_
   ::

       @article{li2017cifar10,
       title={Cifar10-dvs: an event-stream dataset for object classification},
       author={Li, Hongmin and Liu, Hanchao and Ji, Xiangyang and Li, Guoqi and Shi, Luping},
       journal={Frontiers in neuroscience},
       volume={11},
       pages={309},
       year={2017},
       publisher={Frontiers}
       }

   :param save_to: Location to save files to on disk.
   :type save_to: string
   :param transform: A callable of transforms to apply to the data.
   :type transform: callable, optional
   :param target_transform: A callable of transforms to apply to the targets/labels.
   :type target_transform: callable, optional
   :param transforms: A callable of transforms that is applied to both data and
                      labels at the same time.
   :type transforms: callable, optional

   .. py:attribute:: url
      :value: 'https://figshare.com/ndownloader/files/38023437'

      

   .. py:attribute:: filename
      :value: 'CIFAR10DVS.zip'

      

   .. py:attribute:: file_md5
      :value: 'ce3a4a0682dc0943703bd8f749a7701c'

      

   .. py:attribute:: data_filename
      :value: ['airplane.zip', 'automobile.zip', 'bird.zip', 'cat.zip', 'deer.zip', 'dog.zip', 'frog.zip',...

      

   .. py:attribute:: folder_name
      :value: ''

      

   .. py:attribute:: dtype

      

   .. py:attribute:: ordering

      

   .. py:attribute:: sensor_size
      :value: (128, 128, 2)

      

   .. py:attribute:: classes

      

   .. py:method:: __getitem__(index)

      :returns: a tuple of (events, target) where target is the index of the target class.


   .. py:method:: __len__()



