-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[arm] change prior box implement #4013
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
Conversation
[operator] add InferShapeImpl method (PaddlePaddle#3294)
update code
update code
Merge branch 'opencl' of https://github.com/chenjiaoAngel/Paddle-Lite into opencl
update code
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle-Lite into PaddlePaddle-develop
Merge branch 'fusion' of https://github.com/chenjiaoAngel/Paddle-Lite into fusion
|
||
void PriorBoxCompute::Run() { | ||
auto& param = Param<operators::PriorBoxParam>(); | ||
inline void* fast_malloc(size_t size) { |
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.
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.
这个可以的,我稍后改过来
Merge branch 'fusion' of https://github.com/chenjiaoAngel/Paddle-Lite into fusion
void PriorBoxCompute::Run() { | ||
auto& param = Param<operators::PriorBoxParam>(); | ||
inline void fast_free(void* ptr) { | ||
if (ptr) { |
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.
这个也可以删除哈
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
当输入shape不改变时,prior box的输出直接copy上次结果;否则重新计算输出
原因:prior box的输出结果与输入shape和参数相关