이춘석/동작제어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>
최형규/동작제어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>
최형규/동작제어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>
이한종/동작제어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>
김용섭/동작제어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>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 10 May 2018 07:10:09 +0000 (16:10 +0900)]
Extract common code of docker image (#1150)
- Introduce nnfw_docker by extracting common code related to docker image nnfw_docker
- Use nnfw_docker in docker_run_test.sh to see it's working
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 10 May 2018 05:47:16 +0000 (14:47 +0900)]
[tflite_run] Remove OutputTensorDumper/Loader (#1145)
Remove old version and use TensorDumper/Loader instead.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 May 2018 01:24:52 +0000 (10:24 +0900)]
Change unsuitable varable name (#1143)
* Change variable names start from `NPU_COMPILER_` to `NNFW_`
Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 9 May 2018 23:58:02 +0000 (08:58 +0900)]
[tflite_run] Introduce TensorDumper/Loader (#1139)
Just copy of OutputTensorDumper/Loader and changed only class name.
These classes will dump/load input tensors as well as output tensors which
will eventually replace OutputTensorDumper/Loader.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 9 May 2018 05:58:16 +0000 (14:58 +0900)]
[tflite_run] Reorder print message (#1136)
Elapsed time message comes earlier than dump message.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 9 May 2018 02:25:24 +0000 (11:25 +0900)]
Add object allocation info to log message (#1134)
* Add object allocation info to log message
- display `--> (type: address)` information at the end of the log line for each allocation call.
Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 9 May 2018 01:25:12 +0000 (10:25 +0900)]
Use docker image name from common.sh (#1126)
- Use docker image name from common.sh
and use same convention with other scripts.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 9 May 2018 01:24:29 +0000 (10:24 +0900)]
Update scripts for cross build (#1122)
* Update scripts for cross build
- Update docker_build_cross_arm_ubuntu.sh with changes in
docker_build_cross_arm_ubuntu_without_aclbuild.sh
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 9 May 2018 01:06:55 +0000 (10:06 +0900)]
Update howto document of docker (#1121)
- Update howto document of docker to reflect recent changes
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 8 May 2018 23:32:01 +0000 (08:32 +0900)]
Update LD_LIBRARY_PATH in `howto.md` document (#1132)
* Update LD_LIBRARY_PATH in `howto.md` document
- reflect the path according to directory structure change.
Signed-off-by: Sung-Jae Lee <sjlee@mail.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 8 May 2018 14:36:55 +0000 (23:36 +0900)]
Install sdb on nnfw_docker_tizen (#1131)
1. install sdb on nnfw_docker_tizen
2. install wget and unzip
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 8 May 2018 11:35:07 +0000 (20:35 +0900)]
Pass env variable LD_LIBRARY_PATH while invoking test driver (#1130)
- introduce `-ldlibrary=` option
- set `$NNFW_HOME/Produce/out/lib` as default value fo LD_LIBRARY_PATH
- pass env variable `LD_LIBRARY_PATH` while invoking test driver
Signed-off-by: Sung-Jae Lee <sjlee@mail.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 8 May 2018 10:33:23 +0000 (19:33 +0900)]
Support Android build for tflite_run (#1127)
Some include path were added manually since not all tools are supported on
Android yet.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 8 May 2018 06:48:58 +0000 (15:48 +0900)]
Add dependent libs for ACL libs (#1118)
This will add ACL dependent system libs to ACL for compiler versions don't add these for implicitly
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 8 May 2018 06:30:23 +0000 (15:30 +0900)]
Add `ctags` configuration file (#1120)
- exclude binary paths including `Product`, `rootfs`, `cache`
- include external source path
- set --extra=+f as default for easy file searching in project
Signed-off-by: Sung-Jae Lee <sjlee@mail.com>
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 8 May 2018 02:43:08 +0000 (11:43 +0900)]
Added content for minicom novice. (#1119)
added 1. where to find minicom setup info and 2. how to find serial device name.
Signed-off-by: Hyun Sik Yoon (hyunsik.yoon@samsung.com)
Kshitiz Bansal/Advanced SW Team/./삼성전자 [Mon, 7 May 2018 07:03:36 +0000 (12:33 +0530)]
TF Lite C# API's Skeleto (#986)
Following are the part of this Pull Request
- TFLiteSharp package
- README.md
- C# api skeleton code
We have built the skeleton of the c# APIs taking Java APIs as the basis, as we discussed.
Signed-off-by: Kshitiz Bansal <kshitiz.b@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 4 May 2018 08:42:10 +0000 (17:42 +0900)]
Add README.md to tflite_run (#1110)
A brief description for tflite_run
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 4 May 2018 08:41:54 +0000 (17:41 +0900)]
Remove unused code from Diff.cpp (#1111)
This code was not removed to minimize diff from another commit.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 4 May 2018 06:28:52 +0000 (15:28 +0900)]
Fix max_pool_float_2 test (#1109)
This will fix max_pool_float_2 test that has N>1
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 06:25:26 +0000 (15:25 +0900)]
Update the nnfw behavior figure (#1106)
The arrow from the runtime seemed to be directly connected to the
application, which is not correct. This patch modifies the arrow to be
connected only to TF Lite and makes a single output arrow from TF Lite.
Thanks to SaeHie Park for this comment.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 4 May 2018 06:19:54 +0000 (15:19 +0900)]
[tflite_run] Support compare results (#1103)
With `--compare` or `-c` option, user can compare the results with output
tensor file which was dumped by `--dump` option.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 06:19:12 +0000 (15:19 +0900)]
Fix svace build script bug (#1107)
Fix svace build script bug: check file exist
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 05:43:13 +0000 (14:43 +0900)]
Update the SW high level design document (#1105)
For issue #942
This commit addresses two comments posted in #921.
- Fix the return path from the runtime in the nnfw_behavior figure
- Clarify the description about what compute interface is used in the
runtime implementation
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 4 May 2018 02:14:23 +0000 (11:14 +0900)]
Extract compareSingleTensorView from TfLiteTensorComparator::run (#1072)
So we can compare single TensorView. This method will be used from `tflite_run`.
OutputTensorDumper, which will be introduced later, restores TensorView from a
binary tensor file. So we need an interface for comparing two `TensorView`s.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 01:57:35 +0000 (10:57 +0900)]
remove internal url from gbs.conf (#1090)
1. remove repo.localacl from gbs.conf
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 01:56:49 +0000 (10:56 +0900)]
Remove scripts/command/change_gitmodule.sh (#1085)
For issue #1071
This patch removes `scripts/command/change_gitmodule.sh`, since it is no
longer used, and updates its caller sites.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 4 May 2018 01:21:32 +0000 (10:21 +0900)]
[tflite_run] Introduce OutputTensorLoader (#1073)
As a pair with OutputTensorDumper, this class reads and builds
`TensorView<float>` from binary tensor file.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 01:21:21 +0000 (10:21 +0900)]
Apply insertFusedActivationLayer to NEON layers (#1083)
This commit applies insertFusedActivationLayer to NEON layers
such as Conv2D and Pooling.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 01:21:05 +0000 (10:21 +0900)]
Apply insertFusedActivationLayer() to other CL layers. (#1082)
This commit applies insertFusedActivationLayer() to CL layers
(Conv2D and Pooling).
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 01:02:17 +0000 (10:02 +0900)]
Change the git url for tensorflow submodule (#1070)
For issue #1069
This patch changes the git url and branch for the tensorflow submodule
as Tizen's.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 00:52:07 +0000 (09:52 +0900)]
[BUGFIX] Do not insert activation layer for ANEURALNETWORKS_FUSED_NONE (#1080)
If the activation layer is ANEURALNETWORKS_FUSED_NONE,
just return the function instead of break to avoid
inserting an unconfigured activation layer.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 00:30:05 +0000 (09:30 +0900)]
Remove server information (#1075)
Remove server information from script
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 4 May 2018 00:17:44 +0000 (09:17 +0900)]
Use on-device AI instead of embedded AI (#1076)
For issue #939
This patch changes the term, embedded AI, used in the background section
of the requirement specification document as on-device AI for
consistency.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 23:56:11 +0000 (08:56 +0900)]
Apply CLUniqueTensor to Pooling and Softmax (#1051)
This commit applies CLUniqueTensor instead of directly using ACL's Tensor.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 23:55:33 +0000 (08:55 +0900)]
Apply NEUniqueTensor (#1054)
This commit applies NEUniqueTensor to Conv2D, Pooling, and Softmax
instead of directly using ACL's Tensor.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 11:55:38 +0000 (20:55 +0900)]
Add xu4 tizen test script (#1038)
* Add xu4 tizen test script
For example, if you'd like to build & test for tizen xu4, do as
follows:
1. cross build and test
`$ ./run docker_build_tizen_cross.sh ; ./run tizen_xu4_test.sh --test-suite-path=Product/out/test-suite.tar.gz --unittest --verification`
2. gbs build and test
`$ ./run docker_gbs_build.sh ; ./run tizen_xu4_test.sh --rpm-dir=Product/out/rpm --verification --unittest`
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 3 May 2018 10:53:20 +0000 (19:53 +0900)]
Add 3-clause BSD license in LICENSE (#1048)
SOLVe complains 3-clause BSD license should be specified.
It will make SOLVe happy.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 3 May 2018 10:47:30 +0000 (19:47 +0900)]
Use `BSD-3-Clause` for tizen build spec (#1061)
Related issue: #1059
All license identified in protex should be specified in tizen build spec.
Furthemore, SOLVe is happy with `BSD-3-Clause`, not `3-clause BSD License`.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 10:35:25 +0000 (19:35 +0900)]
enable coverage-suite on gbs build (#1058)
1. coverage-suite on gbs build
2. docker_gbs_build.sh accepts gbs define option
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 09:48:04 +0000 (18:48 +0900)]
Ignore changes externals/acl (#1047)
This commit adds `ignore = dirty` to ignore untracked or
modified files in `external/acl`
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 07:45:09 +0000 (16:45 +0900)]
fix gbs build error & add return status (#1055)
1. Fix #1053
2. Add return status on docker_gbs_build.sh
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 06:59:05 +0000 (15:59 +0900)]
Enable depthwiseConvQuant8 (#1037)
- enable depthwiseConvQuant8, because we enabled tests
for DEPTHWISE_CONV_2D with TENSOR_QUANT8_ASYMM.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 3 May 2018 06:57:44 +0000 (15:57 +0900)]
Fix softmax of ACL op for matrix input (#1020)
This will fix ACL softmax op that has matrix input
- this adds MatrixInputAccessor class to handle matrix input
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 3 May 2018 06:04:54 +0000 (15:04 +0900)]
[tflite_run] Change code format of argument addition (#1041)
One option per one line with clang-format on/off
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 3 May 2018 06:04:28 +0000 (15:04 +0900)]
Introduce insertFusedActivationLayer() (#1005)
This commit introduces insertFusedActivationLayer().
This function generates activation layer of ACL according to the
activation type spcified by NNAPI.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 3 May 2018 05:45:55 +0000 (14:45 +0900)]
Add MPL2, Apache-2.0, and BSD in tizen build spec (#1046)
SOLVe system complained that we don't specified the licenses
that are identified by Protex. This PR added those licenses,
and removed MIT license since we don't use MIT.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 3 May 2018 04:27:38 +0000 (13:27 +0900)]
Integrate tflite_run argument parsing (#1030)
Currently the command line argument of `tflite_run` is parsed by
`boost::program_options` and directly from `argv`. This has introduced a
few problems. So this commit integrates argument parsing with introducing
positional options so we don't have to access `argv[1]` directly for `.tflite`
file.
Fix #1001
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 3 May 2018 04:24:15 +0000 (13:24 +0900)]
Add benchmark-acl test to test_driver.sh (#1026)
Enables test_driver.sh to run benchmark-acl tests such as
benchmark_googlenet. This benchmark-acl test will be run on daily
benchmark ci. To run the tests, the benchmark-acl test binaries should be
already built.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 3 May 2018 02:41:07 +0000 (11:41 +0900)]
removed since these files are under LGPL license (#1029)
Amd.h and SinplicialCholesky_impl.h in Eigen directory are under LGPL license.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 3 May 2018 00:53:56 +0000 (09:53 +0900)]
Revise benchmark test in test script (#1013)
To prepare benchmark-acl test in test script, revises benchmark
test code in test driver and script for making json.
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 3 May 2018 00:17:20 +0000 (09:17 +0900)]
Fix googletest build for native (#1009)
This will remove CMAKE_TOOLCHAIN_FILE option for googltest native build
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 23:56:16 +0000 (08:56 +0900)]
Fix SVACE build script (#1010)
Fix SVACE build script to verify test package build
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 23:56:04 +0000 (08:56 +0900)]
Change ifdef guard to changed namespace rule (#1008)
This commit changes ifdef guard to changed namespace rule.
close : #1006
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 23:31:38 +0000 (08:31 +0900)]
Add command line argument `dump` to tflite_run (#1011)
* Add command line argument `dump` to tflite_run
Argument `dump` specifies the file name of output tensors are stored.
If not given, outputs are not dumped.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 23:27:33 +0000 (08:27 +0900)]
Exclude frameworktest from test_driver's default tests (#998)
Now defult tests by test_driver run verification and unittest excluding
for frameworktest.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 10:16:33 +0000 (19:16 +0900)]
Introduce OutputTensorDumper (#991)
This class writes output tensors to generate golden data
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 10:06:35 +0000 (19:06 +0900)]
Build test only (#997)
Modify Makefile on root directory to build test only by "make testbuild"
Can build tensoflow lite only using "make tflite"
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 08:29:26 +0000 (17:29 +0900)]
nnfw-test dir contains bin/lib directory (#1004)
Now, nnfw-test.rpm contains subdirectories(tests, tools, and Product) which is the same structure as
test-suite.tar.gz file
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 08:19:46 +0000 (17:19 +0900)]
List up how-to documents in a separate document (#1003)
For #926
This commit puts together how-to documents in docs/howto and lists them up
in docs/howto.md.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 08:08:47 +0000 (17:08 +0900)]
Add missing header definition macro in shape.h (#1002)
This commit adds missing header definition macro
(#ifndef - #define - #endif) in shape.h
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 08:08:06 +0000 (17:08 +0900)]
Add license sources in contrib/kerneltesting (#971)
Related issue: #840
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 08:07:46 +0000 (17:07 +0900)]
Add license to sources in contrib/convacl/* (#970)
Related issue: #840
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 08:07:35 +0000 (17:07 +0900)]
Add license to sources in contrib/bindacl/* (#969)
Related issue: #840
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 08:07:22 +0000 (17:07 +0900)]
Update README.md (#1000)
For issue #926
This commit updates README.md to better describe the project and
repository information.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 07:49:26 +0000 (16:49 +0900)]
Implement RELU6 with a test case of RELU6 (#995)
This commit introduces RELU6 implementation as a fused activation
function with its test case.
The parameter sizes of the test case are from the first depthwise conv2d
layer of MobileNet.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 07:43:15 +0000 (16:43 +0900)]
Move NeuralNetworksWrapper.h to tests/include (#990)
Related issue: #978
NeuralNetworksWrapper.h (C++ wrapper for NeuralNetworks.h) is used only
in runtime unit tests under runtime/tests/*. It is not official API that
there is no documentation on it. So I move it to tests/include.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 07:23:24 +0000 (16:23 +0900)]
Add acl env options to test_driver.sh (#996)
Enables test_driver to handle setting acl environments by
--acl_envon option.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 07:16:16 +0000 (16:16 +0900)]
Change namespace from android::nn to nnfw::rt (#987)
* This commit changes namespace from android::nn to nnft::rt.
Related : #663
Close : #716
Signed-off-by: sjsujinkim sjsujin.kim@samsung.com
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 07:11:23 +0000 (16:11 +0900)]
Change variable convention of Make and CMake (#993)
- HOST_OS : Where we are compile (Linux)
- TARGET_OS : Where nnfw executable runs (Linux or Tizen or Android)
Fix #874
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 04:59:39 +0000 (13:59 +0900)]
BringUpTests should not depends on Android NN Tests condition (#977)
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 04:48:13 +0000 (13:48 +0900)]
Enable to use ACL DepthwiseConv2D via NNAPI (#985)
This sets nnfw_kernel_* table for NN runtime to use ACL DepthwiseConv2D.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 2 May 2018 04:37:47 +0000 (13:37 +0900)]
Remove android_nn from contrib. (#992)
This commit removes android_nn from contrib.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 04:36:56 +0000 (13:36 +0900)]
Use multicore when building ACL (#983)
This commit enables parallelizing build of ACL using scons -j.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 04:34:14 +0000 (13:34 +0900)]
Rename BringUpTest and NeuralNetworkTest in snake style (#989)
Related Issue: #831
Most directory names are in snake style.
For consistency, I rename them.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 04:19:14 +0000 (13:19 +0900)]
Prepend license to tools/* (#965)
Related issue: #840
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 04:03:49 +0000 (13:03 +0900)]
[BUGFIX] typo on translating the shape of weights (#984)
fixed typo. inputShapeACL -> weightsShapeACL
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 2 May 2018 04:03:20 +0000 (13:03 +0900)]
Introduce xxx_driverbin in test_driver.sh (#976)
Now, we can pass proper driver binary depending on test
type(framework/verification/benchmark).
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 2 May 2018 03:55:31 +0000 (12:55 +0900)]
Add license to source in contrib/example (#975)
Related issue: #840
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 08:33:48 +0000 (17:33 +0900)]
Archiving nnfw rpms during gbs build (#964)
* Archiving nnfw rpms during gbs build
This is a prerequisite to enable test on tizen
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
* update as commented
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
* remove last slash
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 30 Apr 2018 07:55:23 +0000 (16:55 +0900)]
Add build command for benchmark/acl (#974)
Now `BENCHMARK_ACL_BUILD=1 make build` runs building benchmark/acl.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 07:31:20 +0000 (16:31 +0900)]
Introduce NEON DepthwiseConv2D (#973)
This commit introduces DepthwiseConv2D implementation for NEON.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 07:30:19 +0000 (16:30 +0900)]
Introduce a test code of multi-channel DepthwiseConv2D (#972)
This commit introduces a test code of multi-channel DepthwiseConv2D.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 05:38:16 +0000 (14:38 +0900)]
Add tools and tests dir into nnfw-test.rpm (#966)
nnfw-test rpm contains tools and tests folder to support test on tizen target.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 05:32:00 +0000 (14:32 +0900)]
Introduce DepthwiseConv2D to support MobileNet (#967)
This commit introduces DepthwiseConv2D layer to support Mobilenet
with a simple test case.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 03:58:51 +0000 (12:58 +0900)]
Reflect dir changes to gen_coverage_report script (#962)
Now, coverage report's target includes libs, include, runtimes, and
tools folder.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 30 Apr 2018 00:52:44 +0000 (09:52 +0900)]
Cleanup ci and docker directory (#960)
- Cleanup ci and docker directory
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 11:39:09 +0000 (20:39 +0900)]
Fix typo in script (#961)
- Fix typo in script
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 10:20:53 +0000 (19:20 +0900)]
Fix typo in docker_gbs_build.sh (#959)
- Fix typo in docker_gbs_build.sh
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 10:16:19 +0000 (19:16 +0900)]
Update Tizen build scripts with new directory structure (#958)
- Update Tizen build scripts with new directory structure
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 09:48:16 +0000 (18:48 +0900)]
Update scripts in new location (#957)
- Update scripts in new location
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 09:42:03 +0000 (18:42 +0900)]
Rename src as runtimes (#956)
For issue #831 and #925
This patch renames `src` as `runtimes`.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 09:31:10 +0000 (18:31 +0900)]
Update change_gitmodule.sh and using it (#954)
- Update change_gitmodule.sh with new directory structure
- Update follow scripts using change_gitmodule.sh
docker_build_ubuntu_svace.sh
docker_cross_test_coverage_build.sh
docker_run_test.sh
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 27 Apr 2018 09:23:43 +0000 (18:23 +0900)]
Move `src/nn/runtime/sample` to `src/tests/BringUpTest` (#955)
* Move `src/nn/runtime/sample` to `src/tests/BringUpTest`
As discussed from #831, this commit changes directory structure.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* Fix the way of adding subdirectory
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 27 Apr 2018 08:42:48 +0000 (17:42 +0900)]
Rename src/runtime/test as src/tests/NeuralNetworksTest (#953)
For issue #831 and #925
This commit renames src/runtime/test as src/tests/NeuralNetworksTest.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>