Skip to content

Commit 1e39366

Browse files
committed
[refactor] Address the doc-string issue in TransformSubset class
1 parent f1302b6 commit 1e39366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoPyTorch/datasets/base_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ class TransformSubset(Subset):
5151
we require different transformation for each data point.
5252
This class helps to take the subset of the dataset
5353
with either training or validation transformation.
54-
55-
We achieve so by adding a train flag to the pytorch subset
54+
The TransformSubset allows to add train flags
55+
while indexing the main dataset towards this goal.
5656
5757
Attributes:
5858
dataset (BaseDataset/Dataset): Dataset to sample the subset

0 commit comments

Comments
 (0)