From 7fe1a8ae1c2b50d15fb1f9fe0df90d64151f3932 Mon Sep 17 00:00:00 2001 From: lixiwen1 Date: Tue, 22 Dec 2020 10:02:30 +0800 Subject: [PATCH 1/2] Feature: delete unsupptorted paras checklist of aclgrphParse interface --- inc/external/ge/ge_api_types.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/inc/external/ge/ge_api_types.h b/inc/external/ge/ge_api_types.h index 59e8808b..e79e9b62 100644 --- a/inc/external/ge/ge_api_types.h +++ b/inc/external/ge/ge_api_types.h @@ -395,19 +395,13 @@ const std::set ir_builder_suppported_options = {INPUT_FORMAT, OP_BANK_UPDATE}; // for interface: aclgrphParse -const std::set ir_parser_suppported_options = {INPUT_FORMAT, - INPUT_SHAPE, - OP_NAME_MAP, - IS_DYNAMIC_INPUT, - INPUT_FP16_NODES, +const std::set ir_parser_suppported_options = {INPUT_FP16_NODES, IS_INPUT_ADJUST_HW_LAYOUT, IS_OUTPUT_ADJUST_HW_LAYOUT, OUTPUT, - OUTPUT_TYPE, OUT_NODES, COMPRESS_WEIGHT_CONF, - ENABLE_SCOPE_FUSION_PASSES, - LOG_LEVEL}; + ENABLE_SCOPE_FUSION_PASSES}; // for interface: aclgrphBuildInitialize const std::set global_options = {CORE_TYPE, From 67e9ecab8474c291ae1d44e99a41c37256399033 Mon Sep 17 00:00:00 2001 From: lixiwen1 Date: Tue, 22 Dec 2020 10:16:38 +0800 Subject: [PATCH 2/2] Feature: delete unsupptorted paras checklist of aclgrphParse interface --- inc/external/ge/ge_api_types.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/inc/external/ge/ge_api_types.h b/inc/external/ge/ge_api_types.h index e79e9b62..9b361b96 100644 --- a/inc/external/ge/ge_api_types.h +++ b/inc/external/ge/ge_api_types.h @@ -395,13 +395,9 @@ const std::set ir_builder_suppported_options = {INPUT_FORMAT, OP_BANK_UPDATE}; // for interface: aclgrphParse -const std::set ir_parser_suppported_options = {INPUT_FP16_NODES, - IS_INPUT_ADJUST_HW_LAYOUT, - IS_OUTPUT_ADJUST_HW_LAYOUT, - OUTPUT, - OUT_NODES, - COMPRESS_WEIGHT_CONF, - ENABLE_SCOPE_FUSION_PASSES}; +const std::set ir_parser_suppported_options = { + INPUT_FP16_NODES, IS_INPUT_ADJUST_HW_LAYOUT, IS_OUTPUT_ADJUST_HW_LAYOUT, OUTPUT, + OUT_NODES, COMPRESS_WEIGHT_CONF, ENABLE_SCOPE_FUSION_PASSES}; // for interface: aclgrphBuildInitialize const std::set global_options = {CORE_TYPE,