Unverified Commit 1a40d9c3 authored by Oscar Mañas's avatar Oscar Mañas Committed by GitHub
Browse files

Update functional.py (#2177)

parent 8438f6d1
...@@ -408,7 +408,7 @@ def hflip(img): ...@@ -408,7 +408,7 @@ def hflip(img):
img (PIL Image): Image to be flipped. img (PIL Image): Image to be flipped.
Returns: Returns:
PIL Image: Horizontall flipped image. PIL Image: Horizontally flipped image.
""" """
if not _is_pil_image(img): if not _is_pil_image(img):
raise TypeError('img should be PIL Image. Got {}'.format(type(img))) raise TypeError('img should be PIL Image. Got {}'.format(type(img)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment