From c7f3b08445e1e45fde7f9a1483dfa2ab23940356 Mon Sep 17 00:00:00 2001 From: wjm Date: Wed, 9 Jun 2021 06:28:07 +0800 Subject: [PATCH] mark original input --- ge/generator/ge_generator.cc | 1 + metadef | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ge/generator/ge_generator.cc b/ge/generator/ge_generator.cc index 24b35bca..505b1908 100644 --- a/ge/generator/ge_generator.cc +++ b/ge/generator/ge_generator.cc @@ -205,6 +205,7 @@ static Status AddInputs(const ComputeGraphPtr &graph, const NodePtr &node, const } (void)AttrUtils::SetBool(data_op, "_is_single_op", true); + (void)AttrUtils::SetBool(data_op, ATTR_NAME_IS_ORIGINAL_INPUT, true); GE_CHK_BOOL_EXEC(data_op->AddInputDesc(tensor) == GRAPH_SUCCESS, REPORT_CALL_ERROR("E19999", "AddInputDesc failed for node:%s", data_op->GetName().c_str()); diff --git a/metadef b/metadef index 310610e5..2ad00e17 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit 310610e5392e01659d214ad380e9ed2c39f9f5a3 +Subproject commit 2ad00e17886fd06c0d00f8a8cf370783a3d31818