platform/core/ml/nnfw.git
6 years agoGit ignore format.path (#1330)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 06:13:45 +0000 (15:13 +0900)]
Git ignore format.path (#1330)

Ignore format.path file generated by format checker

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoAdd option to control parallel build (#1328)
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 24 May 2018 06:13:13 +0000 (15:13 +0900)]
Add option to control parallel build (#1328)

- add shell variable PARALLEL_BUILD with default value 1
- `PARALLEL_BUILD=0 make xxx` disables parallel build

Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
6 years ago[Pure CL Runtime] Support 'RESIZE_BILINEAR' operation (#1326)
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 06:12:43 +0000 (15:12 +0900)]
[Pure CL Runtime] Support 'RESIZE_BILINEAR' operation (#1326)

This commit implements 'RESIZE_BILINEAR' operation support in pure CL
runtime.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
6 years agoOperator selector: slim operator table (#1309)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 06:11:12 +0000 (15:11 +0900)]
Operator selector: slim operator table (#1309)

Modify operator table from source model file
Generated model file's operator table has only used operators

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoEnable framework test for RESIZE_BILINEAR (#1324)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 04:49:35 +0000 (13:49 +0900)]
Enable framework test for RESIZE_BILINEAR (#1324)

- Enable framework test for RESIZE_BILINEAR

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoAdd STRIDE_SLICE,DIV,SUB as extended op (#1320)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 04:42:26 +0000 (13:42 +0900)]
Add STRIDE_SLICE,DIV,SUB as extended op (#1320)

1. add  DIV,SUB,STRIDED_SLICE to extended
op.

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years ago[Pure CL Runtime] Support 'ADD' operation (#1318)
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 03:55:44 +0000 (12:55 +0900)]
[Pure CL Runtime] Support 'ADD' operation (#1318)

This commit implements 'ADD' operation support in pure CL runtime.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
6 years agoAdd CAST_EX to the skip list (#1313)
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 24 May 2018 03:47:18 +0000 (12:47 +0900)]
Add CAST_EX to the skip list (#1313)

This commit adds `CAST_EX` to the skip list.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
6 years ago[Gather Op] add Gather-2D operation test (#1296)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 24 May 2018 02:35:47 +0000 (11:35 +0900)]
[Gather Op] add Gather-2D operation test (#1296)

This commit introduces a test for Gather-2D operation.

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years agoRemove android dependency in TestValidation (#1316)
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 24 May 2018 02:15:22 +0000 (11:15 +0900)]
Remove android dependency in TestValidation (#1316)

* Remove android dependency in TestValidation

This commit removes android dependency in TestValidation test.

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
6 years agoUpdate external/tensorflow to the latest nnfw branch (#1319)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 24 May 2018 02:14:20 +0000 (11:14 +0900)]
Update external/tensorflow to the latest nnfw branch (#1319)

- Update external/tensorflow to the latest nnfw branch
- Added one PR
  Implement RESIZE_BILINEAR using NN API
  https://github.sec.samsung.net/RS7-STAR/Tensorflow/pull/37

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years ago[Gather Op] update gather operation to support Gather-2D operation (#1295)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 24 May 2018 01:50:21 +0000 (10:50 +0900)]
[Gather Op] update gather operation to support Gather-2D operation (#1295)

* [Gather Op] Update outputshape's dimension to support Gather-2D

This commit updates gather operation to support Gather-2D operation in optimized_op file and
outputshape's dimension to support Gather-2D in gatherPrepare.

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years ago[Topk_v2 Op] introduce topk_v2 test cases (#1304)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 24 May 2018 00:51:19 +0000 (09:51 +0900)]
[Topk_v2 Op] introduce topk_v2 test cases (#1304)

* [Topk_v2 Op] introduce topk_v2 test cases

This commit introduces topk_v2 test cases.
-1D float
-2D float

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
* [Topk_v2 Op] add new line at the end of line

This commit adds new lines at the end of line

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years ago[ADD Op] enabled nnapi_test (#1311)
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 23 May 2018 23:52:15 +0000 (08:52 +0900)]
[ADD Op] enabled nnapi_test (#1311)

This commit enables nnapi_test for ADD operation to add 4D matrixes

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
6 years agoDisable submodule update in Makefile (#1310)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 23:37:33 +0000 (08:37 +0900)]
Disable submodule update in Makefile (#1310)

Disable submodule update in Makefile
It will be useful to test submodule's PR

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years ago[Gather OP] add gather operation to nn runtime unittest (#1260)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 23 May 2018 23:34:27 +0000 (08:34 +0900)]
[Gather OP] add gather operation to nn runtime unittest (#1260)

* [Gather OP] add gather operation to nn runtime unittest

This commit adds gather operation to nn runtime unittest.
-gather 1-dimension test

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
* Modify addOperation to support the new extended structure

-modify addOperation to addOpeationEx
-move gather operation file from V1.1 to Ex

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years agoTFLiteSharp: Added methods to create model and build interpreter (#1221)
Saurav Babu/Advanced SW Team/Engineer/삼성전자 [Wed, 23 May 2018 23:32:48 +0000 (05:02 +0530)]
TFLiteSharp: Added methods to create model and build interpreter (#1221)

* TFLiteSharp: Added methods to create model and build interpreter

This commit contains addition of 3 function definition in native code
for creating a flatbuffer model, building an interpreter instance and
setting the number of threads. The respective changes are also made in
C# code along with the addition of interop functions for shared
library(libtflite-native.so) runtime linkage. Also included are some
modification in build system, specifically adding the manifest file.

Signed-off-by: kshitiz-b <kshitiz.b@samsung.com>
6 years ago[TopK_v2] introduce topk_v2 operation (#1301)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 23 May 2018 07:38:50 +0000 (16:38 +0900)]
[TopK_v2] introduce topk_v2 operation (#1301)

* [TopK_v2] introduce topk_v2 operation

This commits introduces topk_v2 operation.
-currently, for float

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years agoInstall OpenCL package for arm rootfs (#1307)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 23 May 2018 07:03:21 +0000 (16:03 +0900)]
Install OpenCL package for arm rootfs (#1307)

Install OpenCL package for arm rootfs

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years ago[CL kernel] element-wise mul (#1285)
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 23 May 2018 04:25:26 +0000 (13:25 +0900)]
[CL kernel] element-wise mul (#1285)

This commit introduces element-wise mul for mali GPU.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
6 years agoTFLiteFile tool: fix stride_slice bug (#1299)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 04:24:28 +0000 (13:24 +0900)]
TFLiteFile tool: fix stride_slice bug (#1299)

Fix stride_slice option generation bug

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoAdd STRIDED_SLICE CPU fall-back (#1297)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 04:11:20 +0000 (13:11 +0900)]
Add STRIDED_SLICE CPU fall-back (#1297)

Issue: #1237
1. Add STRIDED_SLICE CPU fall-back
   - Most code comes from upstream NN Runtime and upstream tflite
2. Enable Genereted Test for STRIDED_SLICE
   - Fix generated test bug

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoAdd strided_slice framework test (#1298)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 02:34:17 +0000 (11:34 +0900)]
Add strided_slice framework test (#1298)

Upload strided_slice tflite file to server and add framework test

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoUse RS7-RuntimeNTools/ComputeLibrary for `externals/acl` (#1268)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 01:24:10 +0000 (10:24 +0900)]
Use RS7-RuntimeNTools/ComputeLibrary for `externals/acl` (#1268)

Since we want to modify ACL internally, we try to use
our local repo instead of tizen's repo.

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years agoModel parser: simplify enum matching (#1293)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 01:22:09 +0000 (10:22 +0900)]
Model parser: simplify enum matching (#1293)

Simplify enum value matching to name string

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoAdd nn tests skip list for armv7l-linux (#1292)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 23 May 2018 01:20:46 +0000 (10:20 +0900)]
Add nn tests skip list for armv7l-linux (#1292)

Skip list for armv7l-linux differs to one for x86_64-linux.
More tests are skipped since they fail with ACL kernels.

In addition, I added comments for both of list.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years agoAdd testing CAST_EX operation and supporting extended API's test (#1279)
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 23 May 2018 01:01:59 +0000 (10:01 +0900)]
Add testing CAST_EX operation and supporting extended API's test (#1279)

This commit adds testing CAST_EX operation and supporting extended API's test.

    - Open the way to test extended operators.
    - add tests for CAST_EX operation.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
6 years agoModel parser: define class (#1291)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 23 May 2018 00:42:57 +0000 (09:42 +0900)]
Model parser: define class (#1291)

Define model parser class: TFLiteModelFileParser

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoRemove md5sum from config.sh files (#1290)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 21 May 2018 06:55:54 +0000 (15:55 +0900)]
Remove md5sum from config.sh files (#1290)

Now that we can fetch md5sum from the file server, we can remove it from
`config.sh` files

Resolve #1264

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoGet md5sum of tflite files from the file server (#1289)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 21 May 2018 05:45:18 +0000 (14:45 +0900)]
Get md5sum of tflite files from the file server (#1289)

Get original file's md5sum from HTTP header(Content-MD5 field) so we do not
have to maintain md5sum in `config.sh`.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoConvert test_driver.sh to one in python3 (#1277)
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 21 May 2018 03:34:24 +0000 (12:34 +0900)]
Convert test_driver.sh to one in python3 (#1277)

* Convert test_driver.sh to one in python3

To prepare for detailed, specific tests in the future, converts
test_driver.sh to one in python3. Now it is just ported to python3, not
applied with OOP concepts yet.

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
* Apply format.patch

6 years agoIntroduce skip list for nn runtime tests (#1287)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 21 May 2018 03:33:34 +0000 (12:33 +0900)]
Introduce skip list for nn runtime tests (#1287)

Main purpose of this PR is running a subset of tests in CI.
It makes use of `gtest_filter` option that enables running a subset of tests.
Put {unit_test_name}.skip.{archtecture} in runtimse/tests/neural_networks_test.

Related issue: #1272

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years agoRemove gcc version check on tizen build (#1283)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 21 May 2018 03:33:21 +0000 (12:33 +0900)]
Remove gcc version check on tizen build (#1283)

Both gbs and cross for tizen support building generated test, thus no
need to check gcc version.

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoAdd RESIZE_BILINEAR in runtimes/logging (#1284)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 21 May 2018 03:32:54 +0000 (12:32 +0900)]
Add RESIZE_BILINEAR in runtimes/logging (#1284)

- Add RESIZE_BILINEAR in runtimes/logging

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoFix model_parser script (#1282)
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 21 May 2018 02:08:30 +0000 (11:08 +0900)]
Fix model_parser script (#1282)

This will fix model_parser.py script
- update flatbuffers python code as flatbuffers doesn't exist anymore in externals
- fix custom code understand utf-8 code (for python3)

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
6 years ago[Gather OP] add gather operation fall-back (#1267)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 18 May 2018 08:05:20 +0000 (17:05 +0900)]
[Gather OP] add gather operation fall-back (#1267)

* [Gather OP] add gather operation fall-back

This commit introduces GATHER operation which is the first version.
- currently, only for float32 and 1D

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
* [Gather Op] Gather operation to CPU executor

This commit adds Gather operation in CpuExecutor.
-currently, only for float32 and 1D

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years agoIntroduce extended CAPI akin to `ANeuralNetworksModel_addOperation()` to support...
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 18 May 2018 06:32:16 +0000 (15:32 +0900)]
Introduce extended CAPI akin to `ANeuralNetworksModel_addOperation()` to support extended operators. (#1256)

This commit introduces extended CAPI that plays a role similar to ANeuralNetworksModel_addOperation() to support extended operators.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
6 years agoIgnore submodules for format-checker (#1270)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 18 May 2018 05:36:29 +0000 (14:36 +0900)]
Ignore submodules for format-checker (#1270)

format-checker is failed when submodule is modified.
This is not what we want, so ignore submodule's state in format-checker.sh

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years agoTFLiteFile tool: Fix shape bug, option (#1265)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 18 May 2018 01:06:32 +0000 (10:06 +0900)]
TFLiteFile tool: Fix shape bug, option (#1265)

Fix tensor shape bug when tensor is scalar
Fix generating option for new supported operators

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoArm Cross Toolchain update to 6.3 on nnfw_docker (#1263)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 18 May 2018 01:05:24 +0000 (10:05 +0900)]
Arm Cross Toolchain update to 6.3 on nnfw_docker (#1263)

issue: #1251

To support GeneretedTest build, we need at least gcc 6.3.

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoFix test tflite file bug (#1259)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 18 May 2018 01:03:18 +0000 (10:03 +0900)]
Fix test tflite file bug (#1259)

Change to fixed tflite file and update md5sum

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoEnabling LOGISTIC operation in CpuExecutor (#1258)
Siva Sai Vaddipati/SRI-Bangalore-System SW/./삼성전자 [Thu, 17 May 2018 23:40:27 +0000 (05:10 +0530)]
Enabling LOGISTIC operation in CpuExecutor (#1258)

This commit enables the Logistic activation in CpuExecutor and adds the necessary framework tests file to test logistic operation

Signed-off-by: Siva Sai <siva.sai@samsung.com>
6 years agoMove libs/util/include/util to include/util (#1255)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 17 May 2018 23:33:31 +0000 (08:33 +0900)]
Move libs/util/include/util to include/util (#1255)

To be consistent with other header files, this patch moves
`libs/util/include/util` to `include/util` and accordingly modifies
`libs/util/CMakeLists.txt`.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agorenamed previous mul to matmul (#1254)
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 17 May 2018 23:31:23 +0000 (08:31 +0900)]
renamed previous mul to matmul (#1254)

In previous PR (#1238), `mul` was added for two matrix multiplication.
However, it turned out that `mul` must be element-wise mul, not matmul (matrix mul).
For this reason previous `mul` was renamed to `matmul` and test was changed to `disabled`.
Also, 'matmul2x2.tflite` was uploaded into `npuarchive.mooo.com`.
(previous `mul2x2.tflite` in `npuarchive.mooo.com` will be deleted after this PR is merged.)

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
6 years agoEnable DIV, SUB and STRIDED_SLICE tests (#1257)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 17 May 2018 11:14:15 +0000 (20:14 +0900)]
Enable DIV, SUB and STRIDED_SLICE tests (#1257)

SIGSEGV was resolved. Thus related tests are enabled.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years agoPrint exact operation name (#1252)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 17 May 2018 09:25:05 +0000 (18:25 +0900)]
Print exact operation name (#1252)

This commit fixes to print exact operation name using operation index.
If the index is not found, use option_type as before.

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years agoIntroduce enum `OperationCodeEx` to support extended operators (#1223)
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 17 May 2018 07:53:54 +0000 (16:53 +0900)]
Introduce enum `OperationCodeEx` to support extended operators (#1223)

This commit introduces enum `OperationCodeEx` to support extended operators.
The list of added operations:
  - ANEURALNETWORKS_EX_CAST
  - ANEURALNETWORKS_EX_GATHER
  - ANEURALNETWORKS_EX_TOPK_V2
  - ANEURALNETWORKS_EX_TENSORFLOW_MAX

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
6 years agoIntroduce profiling feature on test_driver.sh (#1248)
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 17 May 2018 07:46:29 +0000 (16:46 +0900)]
Introduce profiling feature on test_driver.sh (#1248)

Now `test_driver.sh --profile` runs profiling by `oprofile`. To profile,
`oprofile` should be installed on target machine and needs root
permission.

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
6 years agoPrepare scripts for Coverity (#1236)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 17 May 2018 04:31:51 +0000 (13:31 +0900)]
Prepare scripts for Coverity (#1236)

* Prepare scripts for Coverity

- Add run_coverity.sh
- Add Coverity_Tizen_SelfVerification_2017.07.0.sh

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* Download Coverity script from server

- Download Coverity script from server, instead of maintaining in this repo

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* Receive name of Coverity script as a parameter

- Receive name of Coverity script as a parameter

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* Use consistent convention for variables

- Add a description about variable name convention
- Rename variables to follow convention

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoAdd a test for TFLITE to call 'MUL' CPU fallback inside NN API (#1238)
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 17 May 2018 03:45:53 +0000 (12:45 +0900)]
Add a test for TFLITE to call 'MUL' CPU fallback inside NN API (#1238)

For #1232, a simple tflite file (mul2x2.tflite) was generated and
added into NNAPI_TEST to make sure if tensorflow lite
calls MUL operation (CPU fallback) under NN API layer.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
6 years agoAdd NN Tests for div, sub, strided_slice (#1246)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 17 May 2018 02:16:02 +0000 (11:16 +0900)]
Add NN Tests for div, sub, strided_slice (#1246)

Related issue: #1229

Added tests are generated with neural_networks_test/specs/generate_test.sh.
While running these tests, I got SIGSEGV. So I disalbed them for now.
These tests will be enabled after SIGSEGV is fixed.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years agoApply format checker to disabled codes in CpuExecutor (#1245)
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 17 May 2018 01:43:33 +0000 (10:43 +0900)]
Apply format checker to disabled codes in CpuExecutor (#1245)

We are supposed to enable NYI codes later, but the current disabled codes follow android coding rules still.
So if we just remove `#if 0` to enable the codes, it would be hard to compare the difference with before codes for review.

This commit applies format checker to disabled codes in CpuExecutor.

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
6 years agoApply library function to scripts (#1244)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 17 May 2018 01:43:09 +0000 (10:43 +0900)]
Apply library function to scripts (#1244)

- Apply library function to scripts

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years ago[tflite_run] Update README.md (#1243)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 17 May 2018 01:26:05 +0000 (10:26 +0900)]
[tflite_run] Update README.md (#1243)

Update README to reflect latest features

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoEnable L2_POOL_2D operation (#1222)
PRAVEEN DORESWAMY NAIDU/SRI-Bangalore-System SW/./삼성전자 [Thu, 17 May 2018 00:01:35 +0000 (00:01 +0000)]
Enable L2_POOL_2D operation (#1222)

Enabling l2pool2d operation along with the tflite test file addition and enabling the test in config file

Signed-off-by: praveen D N <praveen.dn@samsung.com>
6 years agoAdd DIV, SUB and STRIDED_SLICE enumerations in NeuralNetworks.h (#1239)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 16 May 2018 11:52:08 +0000 (20:52 +0900)]
Add DIV, SUB and STRIDED_SLICE enumerations in NeuralNetworks.h (#1239)

Enumeration DIV, SUB and STRIDED_SLICE and the corresponding comments are
copied from https://android.googlesource.com/platform/frameworks/ml/+/efd22b6.
It is the same source that we brought tests under neural_network_tests.

Related issue: #1230

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years agoAdded 'how to run tests' in odroid (#1231)
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 16 May 2018 11:40:34 +0000 (20:40 +0900)]
Added 'how to run tests' in odroid (#1231)

Added 'how to run tests' in odroid (test_driver.sh)

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
6 years agoADD vector operation for cl and neon (#1166)
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 16 May 2018 08:40:57 +0000 (17:40 +0900)]
ADD vector operation for cl and neon (#1166)

Added ADD operation. This commit handles vector addition.
Scalar and matrix operation will be added in next commits.
(It seems that format check works under more strick rule from this week.
 for this reason, util.h was changed)

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
6 years agoUse RS7-STAR's TensorFlow again (#1235)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 16 May 2018 08:13:04 +0000 (17:13 +0900)]
Use RS7-STAR's TensorFlow again (#1235)

* Revert "Remove scripts/command/change_gitmodule.sh (#1085)"

For issue #1233

This reverts commit edc95922795cb73dd4fed6ab3783fb959e58a809.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
* Use again RS7-STAR's TensorFlow

For issue #1233

This patch changes tensorflow's git url to RS7-STAR's, since we will
work on modification of tensorflow lite there.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agoAdd CustomOptions for supporting ADAS models (#1227)
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 16 May 2018 02:49:55 +0000 (11:49 +0900)]
Add CustomOptions for supporting ADAS models (#1227)

This commit introduces CustomOptions to support ADAS model in print_op tool file.

- add custom_options as well as builtin_options_type

Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
6 years agoApply .FORMATCHECKED to runtimes/nn (#1228)
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 16 May 2018 02:44:49 +0000 (11:44 +0900)]
Apply .FORMATCHECKED to runtimes/nn (#1228)

* Apply .FORMATCHECKED to runtimes/nn

This commit applies .FORMATCHECKED to `runtimes/nn/common`, `runtimes/nn/runtime`.

- Copy .FORMATCHECKED files
- run format-checker.sh
- add licenses to unlicensed files

close : #1186

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
6 years agoRemoving the executign permission for framework/tests files (#1226)
Siva Sai Vaddipati/SRI-Bangalore-System SW/./삼성전자 [Wed, 16 May 2018 02:39:43 +0000 (08:09 +0530)]
Removing the executign permission for framework/tests files (#1226)

This commit revokes the accidentally added execution permission for the config files present in tests/framework/tests

Signed-off-by: Siva Sai <siva.sai@samsung.com>
6 years agoRemove execute permission from source code (#1218)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 07:49:35 +0000 (16:49 +0900)]
Remove execute permission from source code (#1218)

- Remove execute permission from source code

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoApply .FORMATCHECKED to libs (#1215)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 07:49:16 +0000 (16:49 +0900)]
Apply .FORMATCHECKED to libs (#1215)

This commit applies format checker to directory `libs`.

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years agoRemove download_dependencies.tar.gz (#1148)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 07:47:57 +0000 (16:47 +0900)]
Remove download_dependencies.tar.gz (#1148)

The old version of this patch has already been applied to the
`release/tizen-5.0-m1` branch by PR #1116.

This patch removes packaging/download_dependencies.tar.gz and uses
packages in externals/tensorflow.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agoEnable RESIZE_BILENEAR for CPU fallback (#1216)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 07:10:14 +0000 (16:10 +0900)]
Enable RESIZE_BILENEAR for CPU fallback (#1216)

- Enable RESIZE_BILENEAR for CPU fallback

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years ago[tflite_run] Dump input and output tensor separately (#1214)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 15 May 2018 07:08:39 +0000 (16:08 +0900)]
[tflite_run] Dump input and output tensor separately (#1214)

After `interpreter.Invoke()` input is no longer valid in tflite interpreter
so this commit revises to dump inputs before it and dump outputs after it.
Also the dumper has changed to have a copy of each tensor.

Resolve #1138

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoQuote pattern on lcov (#1213)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 07:08:30 +0000 (16:08 +0900)]
Quote pattern on lcov (#1213)

To fix daily-arm-coverage, quote patterns during lcov

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoAdd more framework tests (#1211)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 06:51:59 +0000 (15:51 +0900)]
Add more framework tests (#1211)

Add framework tests
- Casting: 4D tensor integer type to float type
- Resize bilinear: 4D input tensor, 4D output tensor (x2 width, x2 height)
- Custom: TensorFlowMax, 2D input tensor with scalar reduction indice, 1D output

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoLocate script library correctly (#1210)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 06:49:29 +0000 (15:49 +0900)]
Locate script library correctly (#1210)

- Locate script library correctly
  This bug was intrdocued from PR 1183

- Locate script library correctly

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoEnable floor and tanh from NN generated tests (#1203)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 May 2018 04:54:28 +0000 (13:54 +0900)]
Enable floor and tanh from NN generated tests (#1203)

Enable floor and tanh by avoiding name conflict with underscore.

In addition, generator script path in log and generated file is
corrected since the path is changed.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years agoFramework test: arithmetic operations (#1207)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 04:34:08 +0000 (13:34 +0900)]
Framework test: arithmetic operations (#1207)

Add framework tests for arithmetic operations: ADD, SUB, MUL, DIV
Set disabled as default
ADD 1D: operand 1 and 2 are 1D tensor
ADD 4D: operand 1 and 2 are 4D tensor
SUB Broadcast: operand 1 is 4D tensor and operand 2 is scalar
MUL Broadcast: operand 1 is 4D tensor and operand 2 is 1D tensor
DIV Broadcast: operand 1 is 4D tensor and operand 2 is scalar

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoTFLiteSharp: Added spec file to build using gbs (#1162)
Saurav Babu/Advanced SW Team/./삼성전자 [Tue, 15 May 2018 03:49:12 +0000 (09:19 +0530)]
TFLiteSharp: Added spec file to build using gbs (#1162)

This patch adds skeleton code for native c++ binding between c# api and
tflite. This patch also adds packaging to build native cpp binding and
c# api using gbs. It will first build the TFLiteNative package
containing native c++ bindings and then it  will build TFLiteSharp(c# api package)

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoIntroduce a helper for scripts (#1183)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 03:48:06 +0000 (12:48 +0900)]
Introduce a helper for scripts (#1183)

- Introduce docker_helper for scripts
- Apply docker_helper to docker_run_test.sh as a first use case
- Will apply docker_helper to other scripts later

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoIntroduce doxygen for source code documentation. (#1204)
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 May 2018 01:07:41 +0000 (10:07 +0900)]
Introduce doxygen for source code documentation. (#1204)

- add `/docs/doxygen` folder and `Doxyfile` for this project
- update `.gitignore` and `.ctags` file
- update Docker file to install `doxygen` and `graphviz` component

```
$ cd $NNFW_HOME/docs/doxygen
$ doxygen
$ <OPEN `html/index.html` with WEB BROWSER>
```

Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
6 years agoReplace CLUniqueTensor and NEUniqueTensor with UniqueTensor (#1205)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 15 May 2018 00:20:03 +0000 (09:20 +0900)]
Replace CLUniqueTensor and NEUniqueTensor with UniqueTensor (#1205)

This commit introduces below declarations:
```
using NEUniqueTensor = UniqueTensor<::arm_compute::Tensor>;
using CLUniqueTensor = UniqueTensor<::arm_compute::CLTensor>;
```
instead of implementing NEUniqueTensor and CLUniqueTensor separately.

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years ago[tflite_run] Load IFM from dumped file (#1202)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 15 May 2018 00:18:02 +0000 (09:18 +0900)]
[tflite_run] Load IFM from dumped file (#1202)

* [tflite_run] Load IFM from dumped file

So far we only used default input(all zeros) but now we can use inputs from t
he dumped file. This is reasonable since input and output must be a pair.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* [tflite_run] Add conflicting options check

Add conflicting options check - `input` and `compare`

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoFix typo on DOCKER_ENV_VARS (#1200)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 23:46:48 +0000 (08:46 +0900)]
Fix typo on DOCKER_ENV_VARS (#1200)

Fix typo on DOCKER_ENV_VARS
1. DOCKER_EVN_VARS -> DOCKER_ENV_VARS

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoUpdate the link to NeuralNetworks.h in the HLD doc (#1196)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 08:07:11 +0000 (17:07 +0900)]
Update the link to NeuralNetworks.h in the HLD doc (#1196)

After updating the source tree structure, the link to NeuralNetworks.h
in the HLD doc was broken.  This patch fixes the broken link.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agoEnable MobileNet in the integration test (#1195)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 07:25:14 +0000 (16:25 +0900)]
Enable MobileNet in the integration test (#1195)

For #871

This patch enables MobileNet in the integration test.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agoEnabling TANH activation in CpuExecutor (#1191)
Siva Sai Vaddipati/SRI-Bangalore-System SW/./삼성전자 [Mon, 14 May 2018 07:13:11 +0000 (12:43 +0530)]
Enabling TANH activation in CpuExecutor (#1191)

This commit enables tanh activation operation.

Signed-off-by: Siva Sai Vaddipati <siva.sai@samsung.com>
6 years agoEnable MobileNet in the benchmark test (#1194)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 04:43:21 +0000 (13:43 +0900)]
Enable MobileNet in the benchmark test (#1194)

For EPIC 2 (#238)

This patch adds MobileNet to the list of benchmark tests.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agoIntroduce git-push hook (#1184)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 03:52:13 +0000 (12:52 +0900)]
Introduce git-push hook (#1184)

This commit introduces git-push hook and its installer.
Originally created by @wateret.

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years agoAdd gitignore: test report (#1192)
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 03:16:22 +0000 (12:16 +0900)]
Add gitignore: test report (#1192)

Update gitignore to ignore test report generated by tests/framework/run_test.sh

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
6 years agoUpdate variable name in scripts to keep consistency (#1181)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 14 May 2018 00:03:53 +0000 (09:03 +0900)]
Update variable name in scripts to keep consistency (#1181)

- Update variable name in scripts to keep consistency

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoEnable tests using ASharedMemory_create in TestValidation.cpp (#1164)
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 14 May 2018 00:03:01 +0000 (09:03 +0900)]
Enable tests using ASharedMemory_create in TestValidation.cpp (#1164)

* Enable tests using ASharedMemory_create in TestValidation.cpp for NN Runtime tests

We've commented out the tests using `ASharedMemory_create` in `TestValidation.cpp` for NN Runtime tests. But I figured out it's ok to use `ashmem_create_region` instead of `ASharedMemory_create` likes [Memory.cpp](https://github.sec.samsung.net/STAR/nnfw/blob/master/runtimes/nn/runtime/Memory.cpp#L34)

So it seems it will be able to enable the tests using `ASharedMemory_create` in `TestValidation.cpp`.

- Add target includes in nn runtime
- Check bad states
- Enable tests

Close : #1163

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
6 years agoIntroduce UniqueTensor (#1158)
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 11 May 2018 07:00:17 +0000 (16:00 +0900)]
Introduce UniqueTensor (#1158)

Since NEUniqueTensor and CLUniqueTensor is very similar,
this commit introduce UniqueTensor to merge them into one.
After this commit, the current implementation of NEUniqueTensor
and CLUniqueTensor will be removed and replaced like below:

```
using NEUniqueTensor = UniqueTensor<::arm_compute::Tensor>;
using CLUniqueTensor = UniqueTensor<::arm_compute::CLTensor>;
```

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
6 years agoProvide DOCKER_HOME to gen_coverage_report.sh (#1174)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 11 May 2018 06:20:19 +0000 (15:20 +0900)]
Provide DOCKER_HOME to gen_coverage_report.sh (#1174)

1. remove `source docker_nnfw` from docker_coverage_report.sh
2. pass DOCKER_HOME to gen_coverage_report.sh

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoBring android nn test generator scripts and specs (#1135)
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 May 2018 06:14:10 +0000 (15:14 +0900)]
Bring android nn test generator scripts and specs (#1135)

Related issue: #937

run for generating tests

$ runtimes/tests/neural_networks_test/specs/generate_test.sh

Modification to original android NN test:

- Android NN test generator script
 : adjusted to our directory structure

- Specs, the inputs to test generator
 : V1_1 directory that contains NNAPI 1.1 is removed since it's not used now.

- Directory name
 : tools/test_generator -> externals/nnapi_test_generator
   since there are many tests in our project

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
6 years ago[tflite_run] Relocate image loading step (#1180)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 11 May 2018 06:12:40 +0000 (15:12 +0900)]
[tflite_run] Relocate image loading step (#1180)

Relocate image loading step to be more natural code flow.

- AssignTensor should be after generating BinImagge
- BinImage is not used after reading
- BinImage is unused in the lambda function (from `measure`)

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years ago[tflite_run] Dump input tensors (#1175)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 11 May 2018 06:12:28 +0000 (15:12 +0900)]
[tflite_run] Dump input tensors (#1175)

Dump input tensors with output tensors since the output tensors are depend on
input tensors. The loader's behavior is still valid without changes.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years ago[tflite_run] Change variable names (#1179)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 11 May 2018 05:45:04 +0000 (14:45 +0900)]
[tflite_run] Change variable names (#1179)

Now that the tensor file contains both inputs and outputs output_loader/dumper
is not a proper name for that.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoUse NeuralNetworks.h instead of nnapi.h (#1176)
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 11 May 2018 05:29:07 +0000 (14:29 +0900)]
Use NeuralNetworks.h instead of nnapi.h (#1176)

For issue #980

This patch replaces use of nnapi.h with NeuralNetworks.h.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
6 years agoIntroduce nnfw_docker_tizen and use it (#1161)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 11 May 2018 00:42:13 +0000 (09:42 +0900)]
Introduce nnfw_docker_tizen and use it (#1161)

- Introduce nnfw_docker_tizen by extracting code related to nnfw_docker_tizen
- Use it in docker_gbs_build.sh

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoAdd env variable option when generating coverage report (#1160)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 11 May 2018 00:40:52 +0000 (09:40 +0900)]
Add env variable option when generating coverage report (#1160)

1. add env variable to control coverage gen
 - SRC_PREFIX : prefix used on generating lcov info file
 - GENHTML_FLAG : flag to pass to genhtml command(e.g. --no-source)

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoAdd gcov data pulling (#1155)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 11 May 2018 00:37:41 +0000 (09:37 +0900)]
Add gcov data pulling (#1155)

1. tizen_xu4_test.sh supports gcov data pulling from xu4 tizen.
2. clean up test dir before testing

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
6 years agoUse common file for scrtips related to nnfw_docker (#1153)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 10 May 2018 08:27:49 +0000 (17:27 +0900)]
Use common file for scrtips related to nnfw_docker (#1153)

- Use common file nnfw_docker for scrtips related to nnfw_docker

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoUse common file for scrtips in CI related to nnfw_docker (#1154)
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 10 May 2018 08:04:44 +0000 (17:04 +0900)]
Use common file for scrtips in CI related to nnfw_docker (#1154)

- Use common file for scrtips in CI related to nnfw_docker
- These scripts are not used for PR-based CI job.
  Therefore we have to check it running well in CI manually.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years ago[tflite_run] Dumped file contains tensor indices (#1144)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 10 May 2018 07:53:17 +0000 (16:53 +0900)]
[tflite_run] Dumped file contains tensor indices (#1144)

Store tensor indice numbers in the binary file

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
6 years agoSeparate test_driver.sh to small scripts (#1128)
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 10 May 2018 07:42:23 +0000 (16:42 +0900)]
Separate test_driver.sh to small scripts (#1128)

* Separate test_driver.sh to small scripts

test_driver.sh is script file but too big. Separate big script to small
scripts and prepare for converting these to ones in python.

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
* Add license text and remove `uniq` in print_to_json

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>