From 8c671f78282a17544c501952899bd91d9c8cf1c3 Mon Sep 17 00:00:00 2001 From: wqtshg Date: Mon, 5 Sep 2022 21:02:23 +0800 Subject: [PATCH] update submodule --- metadef | 2 +- tests/depends/graph/src/attr_util_stub.cc | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/metadef b/metadef index f5c1b6d..599fbd9 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit f5c1b6d1b6b6e97d0cfcf2efd52ec8da12d32c86 +Subproject commit 599fbd9d7f9509b7673af90e186817b5a75ad547 diff --git a/tests/depends/graph/src/attr_util_stub.cc b/tests/depends/graph/src/attr_util_stub.cc index a16c11b..319b2c0 100644 --- a/tests/depends/graph/src/attr_util_stub.cc +++ b/tests/depends/graph/src/attr_util_stub.cc @@ -135,9 +135,6 @@ GE_FUNC_DEV_VISIBILITY GE_FUNC_HOST_VISIBILITY OpDescPtr AttrUtils::CloneOpDesc( if (!op_desc->impl_->output_name_idx_.empty()) { op_desc->impl_->output_name_idx_.clear(); } - if (!op_desc->impl_->optional_input_names_.empty()) { - op_desc->impl_->optional_input_names_.clear(); - } return op_desc; } @@ -173,8 +170,6 @@ GE_FUNC_DEV_VISIBILITY GE_FUNC_HOST_VISIBILITY OpDescPtr AttrUtils::CopyOpDesc(c } op_desc->impl_->input_name_idx_.insert(org_op_desc->impl_->input_name_idx_.begin(), org_op_desc->impl_->input_name_idx_.end()); - op_desc->impl_->optional_input_names_.insert(org_op_desc->impl_->optional_input_names_.begin(), - org_op_desc->impl_->optional_input_names_.end()); op_desc->impl_->output_name_idx_.insert(org_op_desc->impl_->output_name_idx_.begin(), org_op_desc->impl_->output_name_idx_.end());