Skip to content

Commit 4330f79

Browse files
alexshepardchsasank
authored andcommitted
fix comment to match behavior (#185)
Rescale's output_size can be tuple or int
1 parent f265eb9 commit 4330f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: beginner_source/data_loading_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class Rescale(object):
207207
"""Rescale the image in a sample to a given size.
208208
209209
Args:
210-
output_size (tuple or tuple): Desired output size. If tuple, output is
210+
output_size (tuple or int): Desired output size. If tuple, output is
211211
matched to output_size. If int, smaller of image edges is matched
212212
to output_size keeping aspect ratio the same.
213213
"""

0 commit comments

Comments
 (0)