From 7430fa4a515fe5ea7afbaad108226b4cd9111d8c Mon Sep 17 00:00:00 2001 From: Oliver Borchert Date: Sat, 27 Nov 2021 20:28:29 +0100 Subject: [PATCH] Fix spelling --- pycave/data/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycave/data/loader.py b/pycave/data/loader.py index 054ff97..c5654eb 100644 --- a/pycave/data/loader.py +++ b/pycave/data/loader.py @@ -43,7 +43,7 @@ def __init__( tensors: One or more tensors of shape ``[num_datapoints, *]``. For each index, this dataset returns all tensors' values at that index as tuples. batch_size: The batch size to use. Ignored if ``sampler`` is provided. If set to - ``None``, each batch retuns the full data. + ``None``, each batch returns the full data. sampler: A batch sampler which provides either slices or batches of indices to gather from the dataset. By default, it uses :class:`pycave.data.TensorBatchSampler`. collate_fn: A collation function which transforms a batch of items into another type.