From b135b484276b22be75274a671bc0436da4e3ca1f Mon Sep 17 00:00:00 2001 From: zhy_brian Date: Fri, 7 Nov 2025 14:59:28 +0800 Subject: [PATCH] revert hint param --- inc/external/ge_common/ge_api_types.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/inc/external/ge_common/ge_api_types.h b/inc/external/ge_common/ge_api_types.h index 88bb5153b1..ab9fa329f0 100644 --- a/inc/external/ge_common/ge_api_types.h +++ b/inc/external/ge_common/ge_api_types.h @@ -362,9 +362,6 @@ const std::string FUSION_TENSOR_SIZE = "ge.fusionTensorSize"; const std::string INPUT_SHAPE = "ge.inputShape"; -// Configure shape hint of dynamic shape -const char_t *const INPUT_HINT_SHAPE = "ge.inputHintShape"; - const std::string OUTPUT_MAX_SIZE = "ge.outputMaxSize"; const std::string DYNAMIC_NODE_TYPE = "ge.dynamicNodeType"; @@ -667,7 +664,6 @@ static const char_t *const OO_CONSTANT_FOLDING = ge::OO_CONSTANT_FOLDING; static const char_t *const OO_DEAD_CODE_ELIMINATION = ge::OO_DEAD_CODE_ELIMINATION; static const char_t *const OPTION_EXPORT_COMPILE_STAT = ge::OPTION_EXPORT_COMPILE_STAT; static const char_t *const OPTIMIZATION_SWITCH = ge::OPTIMIZATION_SWITCH; -static const char_t *const INPUT_HINT_SHAPE = ge::INPUT_HINT_SHAPE; // for interface: aclgrphBuildModel #ifdef __GNUC__ const std::set ir_builder_suppported_options = {INPUT_FORMAT, @@ -717,8 +713,7 @@ const std::set ir_builder_suppported_options = {INPUT_FORMAT, OO_CONSTANT_FOLDING, OO_DEAD_CODE_ELIMINATION, OPTION_EXPORT_COMPILE_STAT, - OPTIMIZATION_SWITCH, - INPUT_HINT_SHAPE}; + OPTIMIZATION_SWITCH}; // for interface: aclgrphParse const std::set ir_parser_suppported_options = { -- Gitee