提交 c63ce411 编写于 作者: G Galden 提交者: Zhang Ting

resolve #21799 (#21872)

fix flip comments, test=develop
closes:#21799
上级 52a61eda
...@@ -34,7 +34,7 @@ def flip(im): ...@@ -34,7 +34,7 @@ def flip(im):
""" """
Return the flipped image. Return the flipped image.
Flip an image along the horizontal direction. Flip an image along the horizontal direction.
im: input image, (H x W x K) ndarrays im: input image, (K x H x W) ndarrays
""" """
if len(im.shape) == 3: if len(im.shape) == 3:
return im[:, :, ::-1] return im[:, :, ::-1]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册