Browse Source

Optimize inferface performance needed when running

pull/1004/head
wxl 5 years ago
parent
commit
f0b6ec3240
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/hybrid/model/hybrid_model_builder.cc

+ 1
- 1
ge/hybrid/model/hybrid_model_builder.cc View File

@@ -1533,7 +1533,7 @@ Status HybridModelBuilder::RecoverGraphUnknownFlag() {
}
}
// for performance
for (auto &subgraph : root_graph->GetAllSubgraphs()) {
for (auto &sub_graph : root_graph->GetAllSubgraphs()) {
GE_CHECK_NOTNULL(sub_graph);
for (const auto &node : sub_graph->GetDirectNode()) {
auto op_desc = node->GetOpDesc();


Loading…
Cancel
Save