Skip to content

Add image_resize_short and refine resize API#11198

Merged
JiayiFeng merged 2 commits intoPaddlePaddle:developfrom
JiayiFeng:dev_resize_short
Jun 6, 2018
Merged

Add image_resize_short and refine resize API#11198
JiayiFeng merged 2 commits intoPaddlePaddle:developfrom
JiayiFeng:dev_resize_short

Conversation

@JiayiFeng
Copy link
Collaborator

@JiayiFeng JiayiFeng commented Jun 5, 2018

  1. All code in the Python API resize_bilinear are moved to image_resize(...), for most of them can be shared by resizing of different resampling methods.

  2. The API resize_bilinear is still retained for the reason of backward compatible. It is an alias of image_resize(..., resample='BILINEAR').

  3. Add a new Python API: image_resize_short.

@JiayiFeng JiayiFeng requested a review from qingqing01 June 5, 2018 10:52
@qingqing01 qingqing01 requested a review from chengduoZH June 6, 2018 01:59
Copy link
Contributor

@chengduoZH chengduoZH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JiayiFeng JiayiFeng merged commit 9dc3ed4 into PaddlePaddle:develop Jun 6, 2018
@JiayiFeng JiayiFeng deleted the dev_resize_short branch June 6, 2018 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants