From: Inki Dae Date: Tue, 3 Nov 2020 06:20:58 +0000 (+0900) Subject: Set thread number to -1 X-Git-Tag: submit/tizen/20201104.021236^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f1aaf7472a644d72a3e879c23cfe9af80c98ca3;p=platform%2Fcore%2Fmultimedia%2Finference-engine-tflite.git Set thread number to -1 Refer to below reference document, "num_threads should be >= -1. User may pass -1 to let the TFLite interpreter set the no of threads avaiable to itself." Change-Id: I9d9ce2c7f4a9df41fce0e6763b1b7eac1505f0b5 Signed-off-by: Inki Dae --- diff --git a/src/inference_engine_tflite.cpp b/src/inference_engine_tflite.cpp index d1a7687..78e4f64 100644 --- a/src/inference_engine_tflite.cpp +++ b/src/inference_engine_tflite.cpp @@ -24,7 +24,7 @@ #include // H/W -#define MV_INFERENCE_TFLITE_MAX_THREAD_NUM 4 +#define MV_INFERENCE_TFLITE_MAX_THREAD_NUM -1 namespace InferenceEngineImpl {