Renaming Gather GTests to gather_ex (#3767)
authorPrasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Mon, 3 Dec 2018 09:19:03 +0000 (14:49 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 3 Dec 2018 09:19:03 +0000 (18:19 +0900)
This patch renames Gather GTests to gather_ex.
This is done to maintain the uniformity.

Signed-off-by: prasannar <prasanna.r@samsung.com>
21 files changed:
runtimes/tests/neural_networks_test/generated/all_generated_tests.cpp
runtimes/tests/neural_networks_test/generated/examples/gather_ex_1D_float.example.cpp [moved from runtimes/tests/neural_networks_test/generated/examples/gather_1D_float.example.cpp with 87% similarity]
runtimes/tests/neural_networks_test/generated/examples/gather_ex_1D_int32.example.cpp [moved from runtimes/tests/neural_networks_test/generated/examples/gather_1D_int32.example.cpp with 87% similarity]
runtimes/tests/neural_networks_test/generated/examples/gather_ex_1D_quant8.example.cpp [moved from runtimes/tests/neural_networks_test/generated/examples/gather_1D_quant8.example.cpp with 86% similarity]
runtimes/tests/neural_networks_test/generated/examples/gather_ex_2D_float.example.cpp [moved from runtimes/tests/neural_networks_test/generated/examples/gather_2D_float.example.cpp with 92% similarity]
runtimes/tests/neural_networks_test/generated/examples/gather_ex_2D_int32.example.cpp [moved from runtimes/tests/neural_networks_test/generated/examples/gather_2D_int32.example.cpp with 89% similarity]
runtimes/tests/neural_networks_test/generated/examples/gather_ex_2D_quant8.example.cpp [moved from runtimes/tests/neural_networks_test/generated/examples/gather_2D_quant8.example.cpp with 87% similarity]
runtimes/tests/neural_networks_test/generated/models/gather_ex_1D_float.model.cpp [moved from runtimes/tests/neural_networks_test/generated/models/gather_1D_float.model.cpp with 92% similarity]
runtimes/tests/neural_networks_test/generated/models/gather_ex_1D_int32.model.cpp [moved from runtimes/tests/neural_networks_test/generated/models/gather_1D_int32.model.cpp with 92% similarity]
runtimes/tests/neural_networks_test/generated/models/gather_ex_1D_quant8.model.cpp [moved from runtimes/tests/neural_networks_test/generated/models/gather_1D_quant8.model.cpp with 92% similarity]
runtimes/tests/neural_networks_test/generated/models/gather_ex_2D_float.model.cpp [moved from runtimes/tests/neural_networks_test/generated/models/gather_2D_float.model.cpp with 92% similarity]
runtimes/tests/neural_networks_test/generated/models/gather_ex_2D_int32.model.cpp [moved from runtimes/tests/neural_networks_test/generated/models/gather_2D_int32.model.cpp with 92% similarity]
runtimes/tests/neural_networks_test/generated/models/gather_ex_2D_quant8.model.cpp [moved from runtimes/tests/neural_networks_test/generated/models/gather_2D_quant8.model.cpp with 92% similarity]
runtimes/tests/neural_networks_test/runtime_run_android_nn_test.skip.armv7l-linux.neurun
runtimes/tests/neural_networks_test/runtime_run_android_nn_test.skip.x86_64-linux
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_float.mod.py [moved from runtimes/tests/neural_networks_test/specs/Ex/gather_1D_float.mod.py with 100% similarity]
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py [moved from runtimes/tests/neural_networks_test/specs/Ex/gather_1D_int32.mod.py with 100% similarity]
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py [moved from runtimes/tests/neural_networks_test/specs/Ex/gather_1D_quant8.mod.py with 100% similarity]
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_float.mod.py [moved from runtimes/tests/neural_networks_test/specs/Ex/gather_2D_float.mod.py with 100% similarity]
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py [moved from runtimes/tests/neural_networks_test/specs/Ex/gather_2D_int32.mod.py with 100% similarity]
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py [moved from runtimes/tests/neural_networks_test/specs/Ex/gather_2D_quant8.mod.py with 100% similarity]

index b627d49..a56a409 100644 (file)
@@ -3277,88 +3277,88 @@ TEST_F(GeneratedTests, exp_ex_2D_float) {
             exp_ex_2D_float::examples);
 }
 
-namespace gather_1D_float {
+namespace gather_ex_1D_float {
 std::vector<MixedTypedExample> examples = {
-// Generated gather_1D_float test
-#include "generated/examples/gather_1D_float.example.cpp"
+// Generated gather_ex_1D_float test
+#include "generated/examples/gather_ex_1D_float.example.cpp"
 };
 // Generated model constructor
-#include "generated/models/gather_1D_float.model.cpp"
-} // namespace gather_1D_float
-TEST_F(GeneratedTests, gather_1D_float) {
-    execute(gather_1D_float::CreateModel,
-            gather_1D_float::is_ignored,
-            gather_1D_float::examples);
+#include "generated/models/gather_ex_1D_float.model.cpp"
+} // namespace gather_ex_1D_float
+TEST_F(GeneratedTests, gather_ex_1D_float) {
+    execute(gather_ex_1D_float::CreateModel,
+            gather_ex_1D_float::is_ignored,
+            gather_ex_1D_float::examples);
 }
 
-namespace gather_1D_int32 {
+namespace gather_ex_1D_int32 {
 std::vector<MixedTypedExample> examples = {
-// Generated gather_1D_int32 test
-#include "generated/examples/gather_1D_int32.example.cpp"
+// Generated gather_ex_1D_int32 test
+#include "generated/examples/gather_ex_1D_int32.example.cpp"
 };
 // Generated model constructor
-#include "generated/models/gather_1D_int32.model.cpp"
-} // namespace gather_1D_int32
-TEST_F(GeneratedTests, gather_1D_int32) {
-    execute(gather_1D_int32::CreateModel,
-            gather_1D_int32::is_ignored,
-            gather_1D_int32::examples);
+#include "generated/models/gather_ex_1D_int32.model.cpp"
+} // namespace gather_ex_1D_int32
+TEST_F(GeneratedTests, gather_ex_1D_int32) {
+    execute(gather_ex_1D_int32::CreateModel,
+            gather_ex_1D_int32::is_ignored,
+            gather_ex_1D_int32::examples);
 }
 
-namespace gather_1D_quant8 {
+namespace gather_ex_1D_quant8 {
 std::vector<MixedTypedExample> examples = {
-// Generated gather_1D_quant8 test
-#include "generated/examples/gather_1D_quant8.example.cpp"
+// Generated gather_ex_1D_quant8 test
+#include "generated/examples/gather_ex_1D_quant8.example.cpp"
 };
 // Generated model constructor
-#include "generated/models/gather_1D_quant8.model.cpp"
-} // namespace gather_1D_quant8
-TEST_F(GeneratedTests, gather_1D_quant8) {
-    execute(gather_1D_quant8::CreateModel,
-            gather_1D_quant8::is_ignored,
-            gather_1D_quant8::examples);
+#include "generated/models/gather_ex_1D_quant8.model.cpp"
+} // namespace gather_ex_1D_quant8
+TEST_F(GeneratedTests, gather_ex_1D_quant8) {
+    execute(gather_ex_1D_quant8::CreateModel,
+            gather_ex_1D_quant8::is_ignored,
+            gather_ex_1D_quant8::examples);
 }
 
-namespace gather_2D_float {
+namespace gather_ex_2D_float {
 std::vector<MixedTypedExample> examples = {
-// Generated gather_2D_float test
-#include "generated/examples/gather_2D_float.example.cpp"
+// Generated gather_ex_2D_float test
+#include "generated/examples/gather_ex_2D_float.example.cpp"
 };
 // Generated model constructor
-#include "generated/models/gather_2D_float.model.cpp"
-} // namespace gather_2D_float
-TEST_F(GeneratedTests, gather_2D_float) {
-    execute(gather_2D_float::CreateModel,
-            gather_2D_float::is_ignored,
-            gather_2D_float::examples);
+#include "generated/models/gather_ex_2D_float.model.cpp"
+} // namespace gather_ex_2D_float
+TEST_F(GeneratedTests, gather_ex_2D_float) {
+    execute(gather_ex_2D_float::CreateModel,
+            gather_ex_2D_float::is_ignored,
+            gather_ex_2D_float::examples);
 }
 
-namespace gather_2D_int32 {
+namespace gather_ex_2D_int32 {
 std::vector<MixedTypedExample> examples = {
-// Generated gather_2D_int32 test
-#include "generated/examples/gather_2D_int32.example.cpp"
+// Generated gather_ex_2D_int32 test
+#include "generated/examples/gather_ex_2D_int32.example.cpp"
 };
 // Generated model constructor
-#include "generated/models/gather_2D_int32.model.cpp"
-} // namespace gather_2D_int32
-TEST_F(GeneratedTests, gather_2D_int32) {
-    execute(gather_2D_int32::CreateModel,
-            gather_2D_int32::is_ignored,
-            gather_2D_int32::examples);
+#include "generated/models/gather_ex_2D_int32.model.cpp"
+} // namespace gather_ex_2D_int32
+TEST_F(GeneratedTests, gather_ex_2D_int32) {
+    execute(gather_ex_2D_int32::CreateModel,
+            gather_ex_2D_int32::is_ignored,
+            gather_ex_2D_int32::examples);
 }
 
-namespace gather_2D_quant8 {
+namespace gather_ex_2D_quant8 {
 std::vector<MixedTypedExample> examples = {
-// Generated gather_2D_quant8 test
-#include "generated/examples/gather_2D_quant8.example.cpp"
+// Generated gather_ex_2D_quant8 test
+#include "generated/examples/gather_ex_2D_quant8.example.cpp"
 };
 // Generated model constructor
-#include "generated/models/gather_2D_quant8.model.cpp"
-} // namespace gather_2D_quant8
-TEST_F(GeneratedTests, gather_2D_quant8) {
-    execute(gather_2D_quant8::CreateModel,
-            gather_2D_quant8::is_ignored,
-            gather_2D_quant8::examples);
+#include "generated/models/gather_ex_2D_quant8.model.cpp"
+} // namespace gather_ex_2D_quant8
+TEST_F(GeneratedTests, gather_ex_2D_quant8) {
+    execute(gather_ex_2D_quant8::CreateModel,
+            gather_ex_2D_quant8::is_ignored,
+            gather_ex_2D_quant8::examples);
 }
 
 namespace logical_and_ex_1D {
@@ -1,4 +1,4 @@
-// Generated file (from: gather_1D_float.mod.py). Do not edit
+// Generated file (from: gather_ex_1D_float.mod.py). Do not edit
 void CreateModel(Model *model) {
   OperandType type2(Type::INT32, {});
   OperandType type3(Type::TENSOR_FLOAT32, {2});
@@ -1,4 +1,4 @@
-// Generated file (from: gather_1D_int32.mod.py). Do not edit
+// Generated file (from: gather_ex_1D_int32.mod.py). Do not edit
 void CreateModel(Model *model) {
   OperandType type2(Type::INT32, {});
   OperandType type1(Type::TENSOR_INT32, {2});
@@ -1,4 +1,4 @@
-// Generated file (from: gather_1D_quant8.mod.py). Do not edit
+// Generated file (from: gather_ex_1D_quant8.mod.py). Do not edit
 void CreateModel(Model *model) {
   OperandType type2(Type::INT32, {});
   OperandType type1(Type::TENSOR_INT32, {2});
@@ -1,4 +1,4 @@
-// Generated file (from: gather_2D_float.mod.py). Do not edit
+// Generated file (from: gather_ex_2D_float.mod.py). Do not edit
 void CreateModel(Model *model) {
   OperandType type2(Type::INT32, {});
   OperandType type3(Type::TENSOR_FLOAT32, {2,4});
@@ -1,4 +1,4 @@
-// Generated file (from: gather_2D_int32.mod.py). Do not edit
+// Generated file (from: gather_ex_2D_int32.mod.py). Do not edit
 void CreateModel(Model *model) {
   OperandType type2(Type::INT32, {});
   OperandType type3(Type::TENSOR_INT32, {2,4});
@@ -1,4 +1,4 @@
-// Generated file (from: gather_2D_quant8.mod.py). Do not edit
+// Generated file (from: gather_ex_2D_quant8.mod.py). Do not edit
 void CreateModel(Model *model) {
   OperandType type2(Type::INT32, {});
   OperandType type1(Type::TENSOR_INT32, {2});
index 4ff21a0..bf60118 100644 (file)
@@ -102,8 +102,7 @@ GeneratedTests.strided_slice*
 GeneratedTests.sub*
 GeneratedTests.transpose*
 GeneratedTests.cast_ex*
-GeneratedTests.gather_1D*
-GeneratedTests.gather_2D*
+GeneratedTests.gather_ex*
 GeneratedTests.strided_slice_ex*
 GeneratedTests.tensorflowmax_ex*
 GeneratedTests.tensorflowsum_ex*
index 94eaadf..090c1cc 100644 (file)
@@ -79,8 +79,8 @@ ValidationTestModel.*
 ValidationTestCompilation.*
 ValidationTestIdentify.*
 ValidationTestExecution.*
-GeneratedTests.gather_1D_quant8
-GeneratedTests.gather_2D_quant8
+GeneratedTests.gather_ex_1D_quant8
+GeneratedTests.gather_ex_2D_quant8
 GeneratedTests.split*
 GeneratedTests.pack*
 GeneratedTests.unpack*