jactorch.data.dataset#
Classes
An abstract class representing a Dataset. |
|
A filterable dataset. |
|
Wraps a list into a pytorch Dataset. |
|
A proxy dataset base class for wrapping a base dataset. |
Class Dataset
- class Dataset[source]#
Bases:
object
An abstract class representing a Dataset.
All other datasets_v1 should subclass it. All subclasses should override
__len__
, that provides the size of the dataset, and__getitem__
, supporting integer indexing in range from 0 to len(self) exclusive.- __init__()#
- __new__(**kwargs)#
Class FilterableDatasetUnwrapped
- class FilterableDatasetUnwrapped[source]#
Bases:
Dataset
,IterableDatasetMixin
A filterable dataset. User can call various filter_* operations to obtain a subset of the dataset.
- __add__(other)#
- __new__(**kwargs)#
Class FilterableDatasetView
- class FilterableDatasetView[source]#
Bases:
FilterableDatasetUnwrapped
- __add__(other)#
- __new__(**kwargs)#
- property filter_func#
- property filter_name#
- property full_filter_name#
- property unwrapped#
Class IterableDatasetMixin
Class JacDataset
- class JacDataset[source]#
Bases:
Dataset
,IterableDatasetMixin
- __add__(other)#
- __init__()#
- __new__(**kwargs)#
Class ListDataset
- class ListDataset[source]#
Bases:
Dataset
Wraps a list into a pytorch Dataset.
- __add__(other)#
- __new__(**kwargs)#
Class ProxyDataset