From 7bf75b0f6722199da29ac915e99212a238986af9 Mon Sep 17 00:00:00 2001 From: zhaoxinxin Date: Wed, 30 Dec 2020 21:48:45 +0800 Subject: [PATCH] modified: ge/graph/preprocess/graph_preprocess.cc --- ge/graph/preprocess/graph_preprocess.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/graph/preprocess/graph_preprocess.cc b/ge/graph/preprocess/graph_preprocess.cc index 3f4c7f16..d12be957 100644 --- a/ge/graph/preprocess/graph_preprocess.cc +++ b/ge/graph/preprocess/graph_preprocess.cc @@ -906,7 +906,7 @@ Status ProcessNetoutputNodeDynShape(NodePtr &node) { void ParseDynamicInputShapeRange(const std::string &shape_range, std::vector>> &range) { if (shape_range.empty() || shape_range.size() < 2) { - GELOGW("Shape range %s is invalid.", shape_range); + GELOGW("Shape range %s is invalid.", shape_range.c_str()); return; } // different parameter sets are split by ';' @@ -975,7 +975,7 @@ Status GetDynamicInputShapeRange(const std::vector &user_input, const } Status UpdateDynamicInputShapeRange(const ge::GeAttrValue::INT index, - const ector>> &range_vec, OpDescPtr &op, + const vector>> &range_vec, OpDescPtr &op, GeTensorDesc &desc) { auto unkown_shape = desc.GetShape(); auto shape_range = range_vec.at(index);