# SequentialSampler

Source: https://www.tensorplay.cn/docs/generated/tensorplay.utils.data.SequentialSampler.html

# SequentialSampler

class tensorplay.utils.data.SequentialSampler(data_source: [Sized](https://docs.python.org/3/library/collections.abc.html#collections.abc.Sized))[[source]](../_modules/tensorplay/utils/data.html#SequentialSampler)

Samples elements sequentially, always in the same order.

Parameters:

data_source (Sized) – data source to sample from. Must implement __len__.
