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

fix/inference analysis #10867

Merged
merged 1 commit into from
May 24, 2018
Merged

Conversation

Superjomn
Copy link
Contributor

  • fix the last PR
  • comment header

auto program = Load(&executor, scope, model_dir);
paddle::platform::CPUPlace place;
paddle::framework::Executor executor(place);
paddle::framework::Scope scope;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#include "paddle/fluid/inference/analysis/pass.h"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto* scope = new paddle::framework::Scope();
auto program = Load(&executor, scope, model_dir);
paddle::platform::CPUPlace place;
paddle::framework::Executor executor(place);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Superjomn Superjomn merged commit b1d4468 into PaddlePaddle:develop May 24, 2018
@Superjomn Superjomn deleted the fix/graph_analysis branch May 24, 2018 04:23
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.

None yet

2 participants