Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
1a40d9c3
Unverified
Commit
1a40d9c3
authored
May 04, 2020
by
Oscar Mañas
Committed by
GitHub
May 04, 2020
Browse files
Update functional.py (#2177)
parent
8438f6d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/transforms/functional.py
torchvision/transforms/functional.py
+1
-1
No files found.
torchvision/transforms/functional.py
View file @
1a40d9c3
...
...
@@ -408,7 +408,7 @@ def hflip(img):
img (PIL Image): Image to be flipped.
Returns:
PIL Image: Horizontall flipped image.
PIL Image: Horizontall
y
flipped image.
"""
if
not
_is_pil_image
(
img
):
raise
TypeError
(
'img should be PIL Image. Got {}'
.
format
(
type
(
img
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment