API symbolsutilsCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok SequentialSampler class tensorplay.utils.data.SequentialSampler(data_source: Sized)[source] Samples elements sequentially, always in the same order. Parameters: data_source (Sized) – data source to sample from. Must implement __len__. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issueSamplerBase class for all Samplers.StackDatasetDataset as a stacking of multiple datasets.