Skip to content
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

[Cherry-pick #26463 ]: Wrong shape Calculation when using TRT dynamic shape pooling plugin #26920

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

NHZlX
Copy link
Contributor

@NHZlX NHZlX commented Sep 2, 2020

PR types

Bug fixes

PR changes

OPs

Describe

Wrong shape Calculation when using TRT dynamic shape pooling plugin.

The reason is:

 ( (input_size - filter_size + padding_1 + padding_2) / stride + 1 ) != (input_size / stride) + (- filter_size + padding_1 + padding_2) / stride + 1

fix pool trt plugin bug
test=release/2.0-beta
@paddle-bot-old
Copy link

paddle-bot-old bot commented Sep 2, 2020

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Shixiaowei02 Shixiaowei02 merged commit ecbf74d into PaddlePaddle:release/2.0-beta Sep 3, 2020
Superjomn pushed a commit that referenced this pull request Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants