diff --git a/ge/graph/build/graph_builder.cc b/ge/graph/build/graph_builder.cc index f245a1f7..61c21491 100644 --- a/ge/graph/build/graph_builder.cc +++ b/ge/graph/build/graph_builder.cc @@ -306,7 +306,7 @@ Status GraphBuilder::BuildForUnknownShapeGraph(ComputeGraphPtr &comp_graph, GeMo if (peer_node == nullptr) { continue; } - + if (peer_node->GetType() != CONSTANT) { continue; }