Cache the chosen kernel of operators'.#16004
Merged
luotao1 merged 3 commits intoPaddlePaddle:developfrom Apr 8, 2019
Merged
Conversation
test=develop
db95f2a to
d4674da
Compare
Contributor
|
I test it on PyramidDnn inference case.
|
luotao1
reviewed
Mar 1, 2019
| PADDLE_THROW( | ||
| "There are no kernels which are registered in the %s operator.", type_); | ||
| } | ||
| if (!kernel_type_) { |
luotao1
reviewed
Mar 4, 2019
paddle/fluid/framework/operator.h
Outdated
| protected: | ||
| mutable OpKernelConfigsMap kernel_configs_map_; | ||
| mutable std::shared_ptr<OpKernelType> kernel_type_; | ||
| mutable std::shared_ptr<OpKernelFunc> kernel_func_; |
9017f37 to
d5c64cb
Compare
test=develop
d5c64cb to
1041e18
Compare
This was referenced Mar 18, 2019
Merged
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.