[OP][Host][OpUTPy] Add unfold operator and host implementation#8305
Merged
hong19860320 merged 5 commits intoPaddlePaddle:developfrom Jan 22, 2022
Merged
[OP][Host][OpUTPy] Add unfold operator and host implementation#8305hong19860320 merged 5 commits intoPaddlePaddle:developfrom
hong19860320 merged 5 commits intoPaddlePaddle:developfrom
Conversation
|
Thanks for your contribution! |
…e/Paddle-Lite into add_host_unfold_op
zhupengyang
reviewed
Jan 19, 2022
627c42d to
259fcb8
Compare
| } | ||
| } | ||
|
|
||
| inline int CalcOutputSize(int input_size, |
Collaborator
There was a problem hiding this comment.
是否考虑后面去掉类似的重复实现的代码?下个 PR修改一下吧
hong19860320
approved these changes
Jan 22, 2022
Collaborator
hong19860320
left a comment
There was a problem hiding this comment.
关于代码风格和冗余的实现,后面再提个 PR 改下
| CHECK_GT(output_width, 0); | ||
| int output_col_length = output_height * output_width; | ||
| output_shape.push_back(output_col_length); | ||
|
|
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.
No description provided.