김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 26 Apr 2018 05:04:00 +0000 (14:04 +0900)]
Add additional ANEURALNETWORKS_BAD_DATA check into updateDimensionInfo (#910)
This commit adds additional ANEURALNETWORKS_BAD_DATA check into updateDimensionInfo.
These codes have copied from android NN master branch(af63a36)
Fix : #805
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 26 Apr 2018 05:01:54 +0000 (14:01 +0900)]
Can pass SVACE binary path (#900)
Can pass SVACE binary path using environment variable
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 26 Apr 2018 04:54:47 +0000 (13:54 +0900)]
Update NN Runtime TestTrivialModel test (#907)
This commit updates NN Rumtime TestTrivialModel test to android NN master branch.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 26 Apr 2018 04:49:26 +0000 (13:49 +0900)]
Fix build_rootfs.sh message (#909)
This will fix build_rootfs.sh script that shows `[: missing `]'` warning
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 26 Apr 2018 04:15:44 +0000 (13:15 +0900)]
nnapi_test check arguments (#902)
This commit fixes when .tflite file is not given from the argument.
Which has caused segmentation fault.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 26 Apr 2018 02:40:10 +0000 (11:40 +0900)]
Enable build aarch64 for tizen&cross (#885)
Enable build aarch64 for tizen&cross
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 26 Apr 2018 02:34:08 +0000 (11:34 +0900)]
Add license for sources under src/runtime (#904)
Related issue: #840, #839
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 26 Apr 2018 00:57:32 +0000 (09:57 +0900)]
Disable memory bound check in MemoryTracker for 32bit arch (#886)
* Disable memory bound check in MemoryTracker for 32bit arch
This commit disables memory bound check in MemoryTracker for 32bit archtecture.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Change supported bit check mechanism
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 26 Apr 2018 00:56:48 +0000 (09:56 +0900)]
Add assertion to check divide by zero (#892)
- Add assertion to check divide by zero
In this context, the value will not be zero.
But coverity complains this, so let's guard it with assertion.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 26 Apr 2018 00:56:33 +0000 (09:56 +0900)]
Free memory at early exit (#899)
- Free memory at early exit
This was reported by Coverity (118950 Resource leak)
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 25 Apr 2018 09:01:47 +0000 (18:01 +0900)]
Introduce badstate checker in ModelBuilder (#809)
* Introduce badstate checker in ModelBuilder
This commit introduces badstate checker in ModuleBuilder to fix #804 failure.
These codes have copied from android NN master branch(af63a36).
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Move badState to the end of file
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 25 Apr 2018 08:48:27 +0000 (17:48 +0900)]
tflite file generator (from Tensoflow model in python source code) (#810)
PR for #660
Summary of current work.
1. One monolithic file was splitted into several py files.
- Base class (a template for subclasses)
- Several subclass which define model (to be converted later)
- main()
1. Code to generate *.tflite was added (by calling TOCO internally)
(Tensorflow model in python code is converted to *.tflite file.)
Remaining work:
- Supporting multiple outputs
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 25 Apr 2018 08:29:25 +0000 (17:29 +0900)]
Fix coverity error (118949) (#897)
Fix coverity error (118949) (#897)
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 25 Apr 2018 07:21:16 +0000 (16:21 +0900)]
Exit on nnapi_test fail (#890)
1. remove `set +e` from nnapi_test
Now, test fails on any nnapi_test fail.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 25 Apr 2018 07:20:45 +0000 (16:20 +0900)]
Add license for sources under src/kernel (#879)
Related issue: #840, #839
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 25 Apr 2018 06:17:00 +0000 (15:17 +0900)]
Add a script for generation RootFS for Android (#884)
This script generates a standalone build environment for Android.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 25 Apr 2018 05:57:27 +0000 (14:57 +0900)]
Check if ashmem region is created. (#878)
This commit checks if ashmem region is created.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 25 Apr 2018 01:47:05 +0000 (10:47 +0900)]
Workaround: temporary disable concat2 test (#889)
Temporary disable concat2 test until problem solved
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 25 Apr 2018 01:40:36 +0000 (10:40 +0900)]
Build runtime only for SVACE (#888)
Build runtime only for SVACE report
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 25 Apr 2018 00:51:11 +0000 (09:51 +0900)]
Remove execute mode from source files in NN runtime (#876)
- Remove execute mode from source files in NN runtime
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 25 Apr 2018 00:50:33 +0000 (09:50 +0900)]
Remove dead code in Activation.cpp (#862)
- Remove dead code in Activation.cpp
- This was reported as UNCHECKED_FUNC_RES.STAT from SVACE
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 25 Apr 2018 00:49:19 +0000 (09:49 +0900)]
Add rootfs for ARM64 (#877)
* Add rootfs for ARM64
Prepares nnfw to support cross/ARM64 build
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 24 Apr 2018 10:45:16 +0000 (19:45 +0900)]
Remove double semicolon in Memory code (#881)
This commit removes double semicolon in Memory code.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 24 Apr 2018 10:39:21 +0000 (19:39 +0900)]
Close 'dupfd' if returned unexpected null (#861)
This commit closes 'dupfd' if returned unexpected null.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 10:10:51 +0000 (19:10 +0900)]
Make option: runtime build only (#864)
Introduce new make option: runtime build only
Can build runtime only by "make runtime"
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 08:08:02 +0000 (17:08 +0900)]
Disable depthwiseConvQuant8 in NN runtime (#866)
- Disable depthwiseConvQuant8 in NN runtime
- We disable this because
- we don't have test set for this yet
- and we want to exclude unused code from code coverage test.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 24 Apr 2018 08:07:38 +0000 (17:07 +0900)]
Update pthread to `${LIB_PTHREAD}` (#868)
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 08:07:23 +0000 (17:07 +0900)]
script to download model files (#858)
Usage : ./run_test.sh --download=on
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 08:04:52 +0000 (17:04 +0900)]
Fix incorrect md5sum for inceptionv3_module (#854)
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 24 Apr 2018 07:53:03 +0000 (16:53 +0900)]
[Build] Support Android build for nnapi_test (#869)
Support Android build for nnapi_test and its dependencies.
Need to add a document how to create rootfs.
Fix #515
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 24 Apr 2018 07:45:08 +0000 (16:45 +0900)]
Fix typo of a condition (#873)
`&` here is supposed to be `&&`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 07:28:54 +0000 (16:28 +0900)]
Fix memory leak in Conv2D.cpp (#865)
- Fix memory leak in Conv2D.cpp
- These were reported as MEMORY_LEAK.EX in SVACE (Issue #849, #850)
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 04:30:00 +0000 (13:30 +0900)]
Remove unnecessary return statement (#846)
- Remove unnecessary return statement which make below code unreachable.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 04:29:25 +0000 (13:29 +0900)]
Remove tools and depend directory from coverage (#856)
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 24 Apr 2018 04:06:49 +0000 (13:06 +0900)]
Fix c++ and python coding format in tools (#843)
Fix c++ and python format based on decided coding rule
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 24 Apr 2018 01:02:10 +0000 (10:02 +0900)]
upload concatenation files to the mooo server (#836)
Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 23 Apr 2018 13:34:18 +0000 (22:34 +0900)]
Docker build for svace analyzer (#844)
Add script for docker build with svace analyzer
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 23 Apr 2018 10:41:37 +0000 (19:41 +0900)]
Fix test error on tizen (#847)
dirname does not accept multiple arguments.
To run test on tizen, dirname is executed as a part of find command.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
Framework tests for RELU and RELU6 operations (#830)
* Framework tests for RELU and RELU6 operations
This commit enables the framework tests for RELU and RELU6 activation functions
* Update config.sh
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 23 Apr 2018 05:24:42 +0000 (14:24 +0900)]
Add reshape op to NNFWKernel to test performance (#835)
Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Sun, 22 Apr 2018 23:35:44 +0000 (08:35 +0900)]
Remove external/protobuf and tools/tf_model_tools (#826)
For #553
This patch removes external/protobuf and tools/tf_model_tools.
tools/tf_model_tools has been copied to
https://github.sec.samsung.net/RS7-RuntimeNTools/nnas_tools
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 20 Apr 2018 09:28:08 +0000 (18:28 +0900)]
TFLite model tool: PEP8 Format (#821)
Fix python code format based on PEP8
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 20 Apr 2018 07:40:13 +0000 (16:40 +0900)]
Remove local repo from gbs build (#817)
1. remove local repo
2. add --include-all option to gbs build command for local test
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 20 Apr 2018 07:39:15 +0000 (16:39 +0900)]
Check C++ files: .cc extension (#822)
Add .cc extension to check C++ coding rule
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 20 Apr 2018 07:38:53 +0000 (16:38 +0900)]
Introduce 'libs' directory (#820)
This commit introduces 'libs' directory which will hold various
libraries used for runtime implementation.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 20 Apr 2018 06:16:45 +0000 (15:16 +0900)]
Fix build break for benchmark on ci (#819)
Print json with quot. Exactly its spec is not well descriptive. This
solution is workaround.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 20 Apr 2018 04:06:30 +0000 (13:06 +0900)]
Update document of docker image (#790)
- Update document of docker image
- The latest version of docker image is nnfw_docker:1.4
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 20 Apr 2018 04:00:25 +0000 (13:00 +0900)]
[Build] Fix hardcoded value from Makefile (#786)
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 20 Apr 2018 01:43:10 +0000 (10:43 +0900)]
Print benchmark's result to json (#811)
* Print benchmark's result to json
Print benchmark's result to json for visualizing on jenkins. The json
file's content fit to specification of benchmark(one of jenkins plugin).
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 20 Apr 2018 01:19:11 +0000 (10:19 +0900)]
Unify NEON and OpenCL versions of Reshape unit test (#813)
- extract common features to `src/Reshape.test.h`
- implement different parts into `neon/Reshape.test.cpp` and
`cl/Reshape.test.cpp`
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 19 Apr 2018 23:46:56 +0000 (08:46 +0900)]
Add coverage report script for CI (#801)
This script is used on CI to generate lcov coverage info.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 19 Apr 2018 09:04:07 +0000 (18:04 +0900)]
Check nullptr of the buffer in setInput (#807)
* Check nullptr of the buffer in setInput
This commit checks nullptr of the buffer in setInput to fix #806.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Separate nullptr checks in setInput
Enabling RELU and RELU6 (#787)
Enable relu and relu6 operations in cpuexecutor
Enable depthconv and reshape tests in config (#788)
Enable the depthwiseconv and reshape in test config files for the operations to be tested in test_run
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 19 Apr 2018 08:33:51 +0000 (17:33 +0900)]
Separate ACL build type output folder (#803)
This will use ACL build option `build_dir` to separate build type (debug,release) to have its own folder
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 19 Apr 2018 05:57:14 +0000 (14:57 +0900)]
Clean up Utils in common (#799)
This commit cleans up Utils in common.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 19 Apr 2018 05:55:47 +0000 (14:55 +0900)]
Build tests only when googletest is built (#802)
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 19 Apr 2018 03:57:33 +0000 (12:57 +0900)]
Unify NEON and OpenCL implementation of reshape layer (#800)
NEON and OpenCL implementations of reshape layer are very similar.
This commit
- extracts common features to `src/Reshape.h`
- implement different parts into `neon/Reshape.cpp` and `cl/Reshape.cpp`.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 19 Apr 2018 00:39:08 +0000 (09:39 +0900)]
[NNOP] Unify NEON and OpenCL implementaion and tests (#798)
This commit unifies NEON and OpenCL implementation and tests.
- common statements are extracted to `acl/src/FullyConnected.h` and
`acl/src/FullyConnected.test.h`
- Different parts are described in `cl` and `neon` directories.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 19 Apr 2018 00:11:38 +0000 (09:11 +0900)]
Separate acl build and install step (#785)
This will separate acl library build and install step in Makefile
- this is needed for only want to copy libraries after make clean
- there is no change for 'make acl'
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 12:20:11 +0000 (21:20 +0900)]
Change realpath to readlink -f on test driver (#784)
Instead of realpath, use readlink -f because there
is no realpath on taos.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 09:36:49 +0000 (18:36 +0900)]
Introduce NEUniqueTensor (#779)
NEUniqueTensor is a tensor wrapper for arm_compute::Tensor.
This is similar to CLUniqueTensor.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 08:46:17 +0000 (17:46 +0900)]
Remove wget verbose in tizen cross build (#782)
Remove wget verbose in tizen cross build script
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Enable Depthwiseconv2D of CpuExecutor (#617)
Add the DEPTHWISECONV2D operation file and enable the operation with float support.
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 08:12:47 +0000 (17:12 +0900)]
Fix test driver not to print message on benchmark (#770)
Fix test driver not to print message such as ones from wget on benchmark
mode.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 08:06:05 +0000 (17:06 +0900)]
[Build] Add arch `arm64` in Makefile (#775)
Add archicture `arm64`.
For arm64, android is the only OS supported for now.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 18 Apr 2018 06:51:21 +0000 (15:51 +0900)]
Enable acl/neon backend (#776)
This will add acl/neon kernel implementations to kernel lookup tables
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 06:51:13 +0000 (15:51 +0900)]
TFLite Model tool: Use argparse library (#772)
Use argparse library to define and parse argument
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 06:50:17 +0000 (15:50 +0900)]
TFLIte model parser: More tensor information (#732)
* TFLIte model parser: More tensor information
Print tensor debugging name
Print shape as scalar if data rank is 0
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Update README.md
Update README.md to print tensor name
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 06:46:41 +0000 (15:46 +0900)]
TFLite run: Define more custom operator (#777)
Define more custom operator using updated model
Print only.
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 06:28:39 +0000 (15:28 +0900)]
Clean include section of ExecutionBuilder (#778)
This commit cleans include section of ExecutionBuilder.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 06:28:15 +0000 (15:28 +0900)]
Update TestValidation.cpp to android master branch for runtime (#742)
* Update TestValidation.cpp to android master branch for runtime
This commit updates TestValidation.cpp to anroid master branch(
5596ca500) for runtime.
Related : #611
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Change master test to TestValidation2.cpp
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 18 Apr 2018 05:47:15 +0000 (14:47 +0900)]
Use const for readonly shape (#773)
This will add const reference to method that return value is used read only
- this will prevent memory copy
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 05:46:41 +0000 (14:46 +0900)]
Introduce 'make_alloc' helper (#769)
This commit introduces 'make_alloc' helper which makes it easy to use
malloc on a specific type, and revises random test implementations using
this new helper.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 04:43:39 +0000 (13:43 +0900)]
[CMake] Do not force TARGET_OS to be HOST_OS (#771)
Currently TARGET_OS was always forced to be HOST_OS.
It have not been an issue since all OS we handle was linux, so far.
For the future, we should TARGET_OS is set to HOST_OS only if it is not given.
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 18 Apr 2018 03:52:28 +0000 (12:52 +0900)]
Register concat to nnfw kernel table (#767)
This will add concatenationFloat32 on ACL to kernel lookup table
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 00:42:46 +0000 (09:42 +0900)]
Fix wrong report dir on test_driver.sh (#754)
When test_driver.sh run unittest, the report dir was changed by the
path where test_driver.sh run. This commit fixes the report dir.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 00:42:30 +0000 (09:42 +0900)]
Add format check package to docker image (#764)
Add clang-format-3.9, pip, and yapf for format checker
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 18 Apr 2018 00:38:24 +0000 (09:38 +0900)]
Add svace to gitignore (#766)
This will add SVACE data folder .svace-dir to .gitignore
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 18 Apr 2018 00:09:15 +0000 (09:09 +0900)]
[CMake] Extract pthread as a variable (#760)
Instead of just writing `pthread`, use `${LIB_PTHREAD}`.
This is for the future, so Android config will override it to an empty value.
Since BIONIC libc library contains pthread library so it will emit an error if
`-lpthread` is passed to linker.
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 00:08:49 +0000 (09:08 +0900)]
Update tflite file API (#711)
Update tflite file API generated by flatc
Using update schema file in tensorflow 1.7
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
최성진/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 18 Apr 2018 00:05:59 +0000 (09:05 +0900)]
resolve #757 (#765)
Signed-off-by: SungJin Choi <lotieye.choi@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 18 Apr 2018 00:04:29 +0000 (09:04 +0900)]
Add lcov-to-cobertura conversion tool (#755)
* Add lcov-to-cobertura conversion tool
This script converts lcov result to covertura format.
This script will be used on CI side for publishing line coverage result.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
* Add original source link
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 22:16:26 +0000 (07:16 +0900)]
Show max absolute/relative diff (#761)
This commit revises NNAPI test framework to show max absolute/relative
diff information at the end.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 10:23:58 +0000 (19:23 +0900)]
Stringfy COVERAGE_BUILD (#762)
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 09:23:47 +0000 (18:23 +0900)]
Add a unit test of FC-FC (#759)
This commit adds a unit test of an FC layer followed by another FC
layer.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 08:51:22 +0000 (17:51 +0900)]
Add test coverage build (#744)
* Add test coverage build
1. add flags for test coverage build
2. add script to enable on CI
* Add OPTION init
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 08:51:12 +0000 (17:51 +0900)]
Add lcov to docker image (#752)
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 17 Apr 2018 08:50:14 +0000 (17:50 +0900)]
Fix wrong running benchmark test (#753)
Fixes wrong benchmark test. According to introducing run_test.sh's
options, it needs to add options properly.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 08:28:03 +0000 (17:28 +0900)]
Change input/weights/bias/output shape of FC according to NNAPI spec (#750)
This commit changes input/weights/bias/output shape
to follow the NNAPI specification.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 17 Apr 2018 07:27:39 +0000 (16:27 +0900)]
Revise code of printing summary of framework test on test_driver.sh (#748)
Revises code of printing summary of framework test on test_driver.sh by
applying options from run_test.sh.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 17 Apr 2018 07:25:45 +0000 (16:25 +0900)]
Add summary of verification on test driver (#749)
Enables test driver to print summary(tap) of the result on verification
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 17 Apr 2018 06:48:52 +0000 (15:48 +0900)]
Initial code of Concatenation on ACL (#746)
This will add initial implementation of Concatenation on ACL CL and NEON
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
김용섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 17 Apr 2018 05:33:30 +0000 (14:33 +0900)]
Print summary of benchmark on test_driver.sh (#739)
Enables test_driver.sh to print summary of benchmark. The printed
summary has only 'mean' result of benchmark.
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 04:34:31 +0000 (13:34 +0900)]
Change assertion of MatrixWeightAccessor to accept 1D and 2D (#747)
This commit change assertion condition to accept both 1D and 2D tensors
for MatrixWeightAccessor similar to MatrixOutputAccessor.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 04:25:43 +0000 (13:25 +0900)]
Coding rule check script (#730)
Check coding rule for c++ code and python code
Use clang-format to check c++ coding rule, and use yapf to use python coding rule based on PEP8
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 04:25:25 +0000 (13:25 +0900)]
Clang format file for cpp coding rule (#712)
Define C++ coding rule
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 17 Apr 2018 04:05:38 +0000 (13:05 +0900)]
[NNOP] Introduce MatrixOutputAccessor (#741)
This commit introduces MatrixOutputAccessor to process 2D output tensors.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 17 Apr 2018 03:20:31 +0000 (12:20 +0900)]
Register ACL operators to NN runtime (#721)
This will add ACL operators to NN runtime "acl" items so that we can use them
- Operation itself is not verified yet, we need to test and fix if problems exist
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 17 Apr 2018 02:11:24 +0000 (11:11 +0900)]
Rename and relocate logging for runtime (#713)
This commit renames and relocates logging for runtime (remove android dep.)
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>