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());