POKERDVS#

class tonic.datasets.POKERDVS(save_to: str, train: bool = True, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, transforms: Optional[Callable] = None)[source]#

POKER-DVS

Events have (txyp) ordering.

@article{serrano2015poker,
  title={Poker-DVS and MNIST-DVS. Their history, how they were made, and other details},
  author={Serrano-Gotarredona, Teresa and Linares-Barranco, Bernab{'e}},
  journal={Frontiers in neuroscience},
  volume={9},
  pages={481},
  year={2015},
  publisher={Frontiers}
}
Parameters:
  • save_to (string) – Location to save files to on disk.

  • train (bool) – If True, uses training subset, otherwise testing subset.

  • transform (callable, optional) – A callable of transforms to apply to the data.

  • target_transform (callable, optional) – A callable of transforms to apply to the targets/labels.

  • transforms (callable, optional) – A callable of transforms that is applied to both data and labels at the same time.

__getitem__(index)[source]#
Returns:

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