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