From dbbb07e43d0899cb54113fd42d5cdd1dd937c273 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 22 Dec 2020 21:16:49 +0800 Subject: [PATCH] For dynamic shape complie. --- ge/graph/build/graph_builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }