[tflchef] separate tflchef and reverse test (#2613)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 11 Dec 2018 05:44:23 +0000 (14:44 +0900)
committer박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 11 Dec 2018 05:44:23 +0000 (14:44 +0900)
* [tflchef] separate tflchef and reverse test

This will separate build and testing of tflchef and tflchef-reverse so that one can develop step-by-step

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* litte edit with note

12 files changed:
contrib/tflchef/tests/CMakeLists.txt
contrib/tflchef/tests/averagepool2d/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/concatenation/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/conv2d/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/depthwiseconv2d/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/explicit_datachef/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/maxpool2d/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/quantization/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/readme/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/relu/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/relu6/test.reverse [new file with mode: 0644]
contrib/tflchef/tests/reshape/test.reverse [new file with mode: 0644]

index 7955f17..6256628 100644 (file)
@@ -33,7 +33,9 @@ foreach(RECIPE IN ITEMS ${RECIPES})
 endforeach(RECIPE)
 
 # Test tflchef-reverse
-file(GLOB GEN_TFLITEFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/test.recipe")
+file(GLOB GEN_TFLITEFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/test.reverse")
+# Note: While in development, tflchef-reverse may not handle the operator.
+#       To separate this linkage scan empty test.reverse for test targets for tflchef-reverse.
 
 foreach(TFLITEFILE IN ITEMS ${GEN_TFLITEFILES})
   get_filename_component(TFLITE_PREFIX ${TFLITEFILE} DIRECTORY)
diff --git a/contrib/tflchef/tests/averagepool2d/test.reverse b/contrib/tflchef/tests/averagepool2d/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/concatenation/test.reverse b/contrib/tflchef/tests/concatenation/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/conv2d/test.reverse b/contrib/tflchef/tests/conv2d/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/depthwiseconv2d/test.reverse b/contrib/tflchef/tests/depthwiseconv2d/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/explicit_datachef/test.reverse b/contrib/tflchef/tests/explicit_datachef/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/maxpool2d/test.reverse b/contrib/tflchef/tests/maxpool2d/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/quantization/test.reverse b/contrib/tflchef/tests/quantization/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/readme/test.reverse b/contrib/tflchef/tests/readme/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/relu/test.reverse b/contrib/tflchef/tests/relu/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/relu6/test.reverse b/contrib/tflchef/tests/relu6/test.reverse
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/tflchef/tests/reshape/test.reverse b/contrib/tflchef/tests/reshape/test.reverse
new file mode 100644 (file)
index 0000000..e69de29