Add Pixel shuffle OP#15782
Merged
shippingwang merged 29 commits intoPaddlePaddle:developfrom Apr 3, 2019
Merged
Conversation
1acc2ea to
3a2bcf8
Compare
heavengate
reviewed
Feb 26, 2019
python/paddle/fluid/layers/nn.py
Outdated
heavengate
reviewed
Feb 26, 2019
python/paddle/fluid/layers/nn.py
Outdated
heavengate
reviewed
Feb 26, 2019
Contributor
heavengate
left a comment
There was a problem hiding this comment.
Is python API test in test_layers.py needed?
Member
Author
yeah |
qingqing01
reviewed
Feb 27, 2019
python/paddle/fluid/layers/nn.py
Outdated
Contributor
There was a problem hiding this comment.
There is a problem in this API for the variable length input image. H and W is not fixed.
54a179c to
377c5bd
Compare
Collaborator
|
plz preview it first, thanks |
Member
Author
OK will add it. |
377c5bd to
bc9a3b4
Compare
Refine pixel_shuffle_op and unit testing
Member
Author
Collaborator
604dbe2 to
cc2a74a
Compare
cc2a74a to
e5b42d5
Compare
Member
Author
532eaad to
f403189
Compare
qingqing01
previously approved these changes
Apr 3, 2019
shanyi15
previously approved these changes
Apr 3, 2019
panyx0718
approved these changes
Apr 3, 2019
shanyi15
approved these changes
Apr 3, 2019
shippingwang
added a commit
to shippingwang/Paddle
that referenced
this pull request
Apr 11, 2019
* add pixel_shuffle op * add pixel_shuffle op, test=develop * rewrite code, test=develop * delete useless comment, test=develop * Refine pixel_shuffle_op and unit testing * refine code,test=develop * refine .cu,test=develop * fix unittest,test=develop * Fix unit testing test=develop * resolve conflict, test=develop * fix test, test=develop * fix API, test=develop * fix test datatype bug,test=develop * polish comments,test=develop * add API,test=develop * test=develop * Add Pixel_Shuffle OP,test=develop * support python3,test=develop * add include memory to travis CI bug,test=develop
shippingwang
added a commit
that referenced
this pull request
Apr 12, 2019
* cherry-pick 16763,test=release/1.4 * cherry-pick 16763, test=release/1.4 * fix some comments, include cosine_decay,l2_normalize,pixel_shuffle * Add api.spec, test=develop * update api.spec, test=develop * add api.spec,test=develop * test=develop * test=develop * fix conflict,test=develop * Add Pixel shuffle OP (#15782) * add pixel_shuffle op * add pixel_shuffle op, test=develop * rewrite code, test=develop * delete useless comment, test=develop * Refine pixel_shuffle_op and unit testing * refine code,test=develop * refine .cu,test=develop * fix unittest,test=develop * Fix unit testing test=develop * resolve conflict, test=develop * fix test, test=develop * fix API, test=develop * fix test datatype bug,test=develop * polish comments,test=develop * add API,test=develop * test=develop * Add Pixel_Shuffle OP,test=develop * support python3,test=develop * add include memory to travis CI bug,test=develop * cherry-pick 16763,15782 , test=release/1.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Add pixel shuffle Op.
Pixel shuffle rearranges elements in a tensor of shape [N, C, H, W] to [N, C / r^2, H * r, W * r], which r is an upscale_factor.
NOTE: Pixel shuffle Op. shuffles input data. NOT simple reshaping.