[CodeClean] delete unnecessary log
authorJaeyun Jung <jy1210.jung@samsung.com>
Thu, 3 Aug 2023 12:42:34 +0000 (21:42 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 4 Aug 2023 02:50:26 +0000 (11:50 +0900)
Code clean, fix svace issue. Remove unnecessary log - data type.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
c/src/ml-api-inference-single.c

index f50e5bb..dda007c 100644 (file)
@@ -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;