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

opt 优化 #10403

Closed
NotHaozi opened this issue Oct 7, 2023 · 1 comment
Closed

opt 优化 #10403

NotHaozi opened this issue Oct 7, 2023 · 1 comment
Assignees

Comments

@NotHaozi
Copy link

NotHaozi commented Oct 7, 2023

查看了源码,发现 在创建 predictor 的时候,内部会 Build,做图优化。
那为什么需要先用 opt 优化一个模型后,再让 predictor 去 加载优化后的模型,直接加载最初的模型不行吗?

@NotHaozi
Copy link
Author

NotHaozi commented Oct 7, 2023

原来分了 Cxx 和 Mobile 打扰了

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

No branches or pull requests

2 participants