Skip to content

C++ API 相关问题 #1672

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

Open
xuzhenglei1991 opened this issue Jan 18, 2019 · 3 comments
Open

C++ API 相关问题 #1672

xuzhenglei1991 opened this issue Jan 18, 2019 · 3 comments

Comments

@xuzhenglei1991
Copy link

CreatePaddlePredictor 这个C++的API 就相当于paddle-python最新版本里面的fluid.io.load_inference_model是一个功能吗 理论上CreatePaddlePredictor这个函数的返回值和fluid.io.load_inference_model的第二个输入参数产生的exe是等同的把?

@luotao1
Copy link
Contributor

luotao1 commented Jan 18, 2019

两个并不等同,是两个不同的概念。CreatePaddlePredictor封装了executor和program,对应的python api,可以先参考 https://github.com/PaddlePaddle/Paddle/pull/15248/files#diff-3e706fc0f7bbd24291a988216185cda8R59 。这个PR正在merge中。

@xuzhenglei1991
Copy link
Author

两个并不等同,是两个不同的概念。CreatePaddlePredictor封装了executor和program,对应的python api,可以先参考 https://github.com/PaddlePaddle/Paddle/pull/15248/files#diff-3e706fc0f7bbd24291a988216185cda8R59 。这个PR正在merge中。 好的 这个正在参考

@xuzhenglei1991
Copy link
Author

另外能否提供下gflag和glog两个基础库的svn地址和版本号?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants