From 62bbfd9d3b44c5870255a52ee5dabad40e915d39 Mon Sep 17 00:00:00 2001 From: wxl Date: Sat, 5 Dec 2020 18:26:31 +0800 Subject: [PATCH] single op add check json file --- ge/offline/single_op_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/offline/single_op_parser.cc b/ge/offline/single_op_parser.cc index 7e6fe1a9..38374f32 100644 --- a/ge/offline/single_op_parser.cc +++ b/ge/offline/single_op_parser.cc @@ -360,7 +360,7 @@ bool SingleOpParser::Validate(const SingleOpDesc &op_desc) { } Status ValidateSingleOpJson() { - for (const auto &r : GetJsonTensorVerifyResult()) { + for (const auto &r : SingleOpParser::GetJsonTensorVerifyResult()) { if (!r.is_format_valid) { string err_str = "json tensor format invalid.Tensor name is [" + r.tensor_name + "], format is " + r.format; GE_ERRORLOG_AND_ERRORMSG(PARAM_INVALID, err_str.c_str());