From: Jaeyun Jung Date: Thu, 3 Aug 2023 12:42:34 +0000 (+0900) Subject: [CodeClean] delete unnecessary log X-Git-Tag: accepted/tizen/unified/20230808.074019~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56b4b3f77d4ad7b25e5b839e1f541b221adb4949;p=platform%2Fcore%2Fapi%2Fmachine-learning.git [CodeClean] delete unnecessary log Code clean, fix svace issue. Remove unnecessary log - data type. Signed-off-by: Jaeyun Jung --- diff --git a/c/src/ml-api-inference-single.c b/c/src/ml-api-inference-single.c index f50e5bb..dda007c 100644 --- a/c/src/ml-api-inference-single.c +++ b/c/src/ml-api-inference-single.c @@ -1351,9 +1351,8 @@ _ml_single_invoke_validate_data (ml_single_h single, raw_size = _model->tensors[i].size; if (G_UNLIKELY (_data->tensors[i].size != raw_size)) _ml_error_report_return (ML_ERROR_INVALID_PARAMETER, - "The size of %d-th %s tensor is not compatible with model. Given: %zu, Expected: %zu (type: %d).", - i, (is_input) ? "input" : "output", _data->tensors[i].size, raw_size, - ml_tensors_info_get_nth_info (&single_h->in_info, i)->type); + "The size of %d-th %s tensor is not compatible with model. Given: %zu, Expected: %zu.", + i, (is_input) ? "input" : "output", _data->tensors[i].size, raw_size); } return ML_ERROR_NONE;