From c63ce4110234d2df0877eb0ab92deefbe20d5271 Mon Sep 17 00:00:00 2001 From: Galden Date: Mon, 23 Dec 2019 17:29:24 +0800 Subject: [PATCH] resolve #21799 (#21872) fix flip comments, test=develop closes:#21799 --- python/paddle/utils/image_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/utils/image_util.py b/python/paddle/utils/image_util.py index a8092349cd..94029cff9f 100644 --- a/python/paddle/utils/image_util.py +++ b/python/paddle/utils/image_util.py @@ -34,7 +34,7 @@ def flip(im): """ Return the flipped image. 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: return im[:, :, ::-1] -- GitLab