Skip to content

Conversation

DannyIsFunny
Copy link
Collaborator

@DannyIsFunny DannyIsFunny commented Mar 17, 2020

【本PR工作】:将原先opt工具的功能封装为opt_base类,进而将opt_base类封装为Python预测库的接口.
【本PR的主要改动】:
1、opt编译时将所有的kernel的注册信息保存到all_kernel_fake.cc文件。 为了与lite核心库融合,需改为all_kernel_fake.cc中保存非x86backends的kernels注册信息。opt需要同时引用paddle_use_kernels.hall_kernel_fake.cc
2、将opt.cc的主要功能整理到opt_base.ccopt_base类中
3、在build.sh的x86编译选项中加入build_python,可以编译Python预测库
4、为LightPredictorImpl::Clone()函数添加默认返回值。

@DannyIsFunny DannyIsFunny changed the title add opt lib into python lib test=develop [Python lib] Add opt lib into python lib Mar 17, 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