Modify wrong values in testcases (#1865)
author최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 <lotieye.choi@samsung.com>
Mon, 9 Jul 2018 02:08:29 +0000 (11:08 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Mon, 9 Jul 2018 02:08:29 +0000 (11:08 +0900)
This commit modifies wrong values in testcases.

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
tools/nnapi_unittests/tests/add_5.cpp
tools/nnapi_unittests/tests/add_6.cpp

index 89e2079..2957e41 100644 (file)
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
   const int32_t OFM_N = LEFT_N;
   const int32_t OFM_C = LEFT_C;
   const int32_t OFM_H = LEFT_H;
-  const int32_t OFM_W = OFM_W;
+  const int32_t OFM_W = LEFT_W;
 
   // Initialize random number generator
   std::minstd_rand random(SEED);
index 2c477ae..81ab842 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
   const int32_t RIGHT = RIGHT_Value();
 
   const int32_t OFM_H = LEFT_H;
-  const int32_t OFM_W = OFM_W;
+  const int32_t OFM_W = LEFT_W;
 
   // Initialize random number generator
   std::minstd_rand random(SEED);