test: Update descriptions to test case parameters
authorInki Dae <inki.dae@samsung.com>
Mon, 8 Feb 2021 05:04:34 +0000 (14:04 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 25 Mar 2021 02:18:18 +0000 (11:18 +0900)
Updated descriptions to test case parameters, which
describe parameters for each test case correctly.

Change-Id: Id7d6b992bbea67e5354774fee03671a9933e274e

test/src/inference_engine_profiler.cpp

index 02d8c0b..394bd37 100644 (file)
 #define INFERENCE_ITERATION            10
 
 // Macros for tflite inference test cases.
+// parameter order : backend name, target device, inference model type,
+//                   test iteration count, input tensor type, input image path/s,
+//                   height, width, channel count, input layer names, output layer names,
+//                   model path/s, inference result
 #define PARAM_TYPE_TFLITE_IC_INFER(backend, device, iter)              \
                        backend, device, TEST_MODEL_IMAGE_CLASSIFICATION,       \
                        iter, INFERENCE_TENSOR_DATA_TYPE_FLOAT32,                       \
 
 
 // Macros for tflite model based cltuner test cases.
+// parameter order : CLTuner active flag, CLTuner update flag, CLTuner tuning level,
+//                   backend name, target device, test iteration count
 #define PARAM_TYPE_TFLITE_IC_CLTUNER(active, update, mode, backend, device, iter)      \
                        active, update, mode,                                                                                                   \
                        PARAM_TYPE_TFLITE_IC_INFER(backend, device, iter)
@@ -834,7 +840,7 @@ TEST_P(InferenceEngineDldtTest, Inference)
 INSTANTIATE_TEST_CASE_P(
                Opensource, InferenceEngineTfliteTest,
                testing::Values(
-                               // parameter order : backend name, target device, input image path/s, height, width, channel count, input layer names, output layer names, model path/s, inference result
+                               // parameter order : backend name, target device, test iteration count.
                                // mobilenet based image classification test
                                // ARMNN.
                                ParamType_Infer(
@@ -881,7 +887,7 @@ INSTANTIATE_TEST_CASE_P(
                                                PARAM_TYPE_TFLITE_AICHG_2_INFER("armnn", INFERENCE_TARGET_GPU, INFERENCE_ITERATION)),
 
                                /*********************************************************************************/
-                               // parameter order : backend name, target device, input image path/s, height, width, channel count, input layer names, output layer names, model path/s, inference result
+                               // parameter order : backend name, target device, test iteration count.
                                // mobilenet based image classification test
                                // TFLITE.
                                ParamType_Infer(
@@ -933,7 +939,7 @@ INSTANTIATE_TEST_CASE_P(
                Inhouse, InferenceEngineTfliteTest,
                testing::Values(
                                /*********************************************************************************/
-                               // parameter order : backend name, target device, input image path/s, height, width, channel count, input layer names, output layer names, model path/s, inference result
+                               // parameter order : backend name, target device, test iteration count.
                                // mobilenet based image classification test
                                // ONE via MLAPI.
                                ParamType_Infer(
@@ -980,7 +986,7 @@ INSTANTIATE_TEST_CASE_P(
                                                PARAM_TYPE_TFLITE_AICHG_2_INFER("one", INFERENCE_TARGET_GPU, INFERENCE_ITERATION)),
 
                                /*********************************************************************************/
-                               // parameter order : backend name, target device, input image path/s, height, width, channel count, input layer names, output layer names, model path/s, inference result
+                               // parameter order : backend name, target device, test iteration count.
                                // mobilenet based image classification test
                                // TFLITE via MLAPI.
                                ParamType_Infer(
@@ -1031,7 +1037,7 @@ INSTANTIATE_TEST_CASE_P(
 INSTANTIATE_TEST_CASE_P(
                Opensource, InferenceEngineTfliteCLTunerTest,
                testing::Values(
-                               // parameter order : backend name, target device, CLTuner active flag, CLTuner update flag, CLTuner tuning mode, input image path/s, height, width, channel count, input layer names, output layer names, model path/s, inference result
+                               // parameter order : CLTuner active flag, CLTuner update flag, CLTuner tuning level or mode, backend name, target device, test iteration count.
                                // mobilenet based image classification test
                                // ARMNN.
                                ParamType_CLTuner(