-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Api2.0] add pixel shuffle class #26071
[Api2.0] add pixel shuffle class #26071
Conversation
Thanks for your contribution! |
… add_pixel_shuffle_cls
… add_pixel_shuffle_cls
… add_pixel_shuffle_cls
|
||
|
||
def pixel_shuffle(x, upscale_factor, data_format="NCHW", name=None): | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for duplicated docstrings for functional version, just refer to class doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, It is the same thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
literally, just remove the duplicated description (bug keep the args and stuff) and add a reference to the Layer version.
… add_pixel_shuffle_cls
@willthefrog Codes have been refined after first time reviewing, feel free to re-review while passing tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please reply to each comment before making new review request, otherwise it is hard for the reviewer to keep track of the changes
5fcd94d
to
59450d0
Compare
Done |
|
||
|
||
def pixel_shuffle(x, upscale_factor, data_format="NCHW", name=None): | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
literally, just remove the duplicated description (bug keep the args and stuff) and add a reference to the Layer version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
New features
PR changes
APIs
Describe
This PR