|
|
@@ -366,13 +366,13 @@ Status ValidateSingleOpJson() { |
|
|
|
GE_ERRORLOG_AND_ERRORMSG(PARAM_INVALID, err_str.c_str()); |
|
|
|
return PARAM_INVALID; |
|
|
|
} |
|
|
|
if (!r.is_dtyep_valid) { |
|
|
|
if (!r.is_dtype_valid) { |
|
|
|
string err_str = "json tensor datatype invalid.Tensor name is [" + r.tensor_name + "], datatype is " + r.dtype; |
|
|
|
GE_ERRORLOG_AND_ERRORMSG(PARAM_INVALID, err_str.c_str()); |
|
|
|
return PARAM_INVALID; |
|
|
|
} |
|
|
|
} |
|
|
|
ClearJsonTensorVerifyResult(); |
|
|
|
SingleOpParser::ClearJsonTensorVerifyResult(); |
|
|
|
return SUCCESS; |
|
|
|
} |
|
|
|
|
|
|
|