박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 30 Mar 2018 00:40:32 +0000 (09:40 +0900)]
Rename experiments to labs (#296)
As external and experiments both start with ex, it makes more typing.
This will change experiments folder name to labs to work more efficiently.
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Hyung-Kyu Choi [Fri, 30 Mar 2018 00:01:10 +0000 (09:01 +0900)]
Fix name of target in nn/runtime/CMakeLists.txt
- Fix name of target in nn/runtime/CMakeLists.txt
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 15:00:53 +0000 (00:00 +0900)]
Enable three operation of CpuExecutor
- Introduce Concatenation operation
- Enable OperationType::CONCATENATION, OperationType::SOFTMAX
and OperationType::MAX_POOL_2D of CpuExecutor
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 23:55:45 +0000 (08:55 +0900)]
Add target external_acl for docker build (#325)
To skip acl build on docker env, `make external_acl` will copy shared libs
to lib folder.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
Sanggyu Lee [Thu, 29 Mar 2018 10:34:55 +0000 (19:34 +0900)]
Fix compilation errors in StepExecutor::startComputeOnCpu
- Link pthread for NNRuntime test executables
- Add using statement for Status
- IExecutionCallback to ExecutionCallback
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 08:52:26 +0000 (17:52 +0900)]
Enable Pooling of CpuExecutor
- Enable Poolinig of CpuExecutor
- Enable OperationType::AVERAGE_POOL_2D of CpuExecutor
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
jiseob.jang [Thu, 29 Mar 2018 10:38:05 +0000 (19:38 +0900)]
Copy `Status.cpp` from libhidl of Android
This commit copies `Status.cpp` from libhidl of Android.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
Jonghyun Park [Thu, 29 Mar 2018 09:17:54 +0000 (18:17 +0900)]
T/F Lite Conv Example: Use NN API (if possible)
This commit revises T/F Lite Conv Example to use NN API (if possible).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 09:40:31 +0000 (18:40 +0900)]
Do not build ACL static libraries (#306)
* Do not build ACL static libraries
This commit updates acl.cmake not to build static libraries in order to
reduce build time.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 08:58:01 +0000 (17:58 +0900)]
Add arm ubuntu cross build script (#312)
* Add arm ubuntu cross build script
build step
1. prepare rootfs for arm ubuntu
2. run docker/docker_build_cross_arm_ubuntu.sh
TODO
Cache ACL build artifacts
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
* Add install target
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
* apply comment and extract long command string
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 08:43:50 +0000 (17:43 +0900)]
Introduce 'tflite_conv_example' (#317)
This commit introduce 'tflite_conv_example' which creates and runs a simple
NN model with one convolution with T/F Lite interpreter.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 08:07:50 +0000 (17:07 +0900)]
Enable SimpleMath of CpuExecutor
- Enable SimpleMath of CpuExecutor
- Enable OperationType::ADD of CpuExecutor
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 08:14:22 +0000 (17:14 +0900)]
Change comment
sjsujinkim [Thu, 29 Mar 2018 08:06:48 +0000 (17:06 +0900)]
Add TODO comment into ExecutionBuilder::startCompute
This commit adds TODO comment into ExecutionBuilder::startCompute for future plan.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 07:39:01 +0000 (16:39 +0900)]
Remove dummy return in Execution::create()
This commit removes dummy return which causes 'NeuralNetworksExecution_setInput passed a nullptr' in Execution::create().
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
jiseob.jang [Thu, 29 Mar 2018 07:23:12 +0000 (16:23 +0900)]
Implement Memory::create()
This commit implements Memory::create().
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 07:33:12 +0000 (16:33 +0900)]
Introduce CPU operation of NN runtime
- Introduce CPU operation of NN runtime
- Also introduce eigen and gemmlowp in depend/external
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 07:02:04 +0000 (16:02 +0900)]
Remove dummy return in CompilationBuilder::createExecution
This commit removes dummy return which causes 'NeuralNetworksExecution_setInput passed a nullptr' in CompilationBuilder::createExecution.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 06:46:19 +0000 (15:46 +0900)]
Add std::endl before logging by LOG
Currently, we can see the log logging by LOG only in one line. It is very hard to read.
This commit adds std::endl before logging by LOG helper for easy to read.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 04:49:50 +0000 (13:49 +0900)]
Implement Execution_setOutput
This commit implements Execution_setOutput.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 29 Mar 2018 07:19:23 +0000 (16:19 +0900)]
Add empty template code for kernel testing (#311)
This will add initial empty code for kernel testing programs
Main purpose of this change is to add add_kerneltesting method in cmake
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
SaeHie Park [Thu, 29 Mar 2018 06:35:11 +0000 (15:35 +0900)]
Fix acl expierments cmake
This will fix cmake of acl experiment to use common variables defined in root cmake
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 06:49:28 +0000 (15:49 +0900)]
Tflite file operator selection tool (#310)
User select operators in input tflite model, and write these operators' number in text file.
This tool read input tflite model and text file,
then generate tflite model including selected operator only
This version can select operations in inception v3 nonslim
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 05:12:15 +0000 (14:12 +0900)]
Introduce OperationsUtils
- Introduce OperationsUtils
- Make use of types introduced from OperationUtils in CpuExecutor
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
sjsujinkim [Wed, 28 Mar 2018 10:52:23 +0000 (19:52 +0900)]
Implement Execution_startCompute for only CPU
This commit implements Execution_startCompute for only CPU.
- Add StepExecutor(const ExecutionBuilder* executionBuilder, const ModelBuilder* model)
- enable StepExecutor::mapInputsAndOutputsTrivially
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 04:37:39 +0000 (13:37 +0900)]
Implement Execution_setInput
This commit implements Execution_setInput.
- Enables
- ModelArgumentInfo::setFromPointer
- ModelArgumentInfo::updateDimensionInfo
- DataLocation
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 29 Mar 2018 05:57:17 +0000 (14:57 +0900)]
Introduce cmake vars for acl (#304)
This will introduce NNFW_ACL_INCLUDES and NNFW_ALC_LIBS to cmake
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 05:56:15 +0000 (14:56 +0900)]
Allow users to skip NN Runtime and experimental projects (#292)
This commit updates CMakeLists.txt to allow users to skip NN Runtime and
experimental project build.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 05:55:34 +0000 (14:55 +0900)]
Change arm gcc version to 5.4 (#301)
arm gcc 4.9 does not support cross build on docker image.
This fixes such build fail.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 05:54:52 +0000 (14:54 +0900)]
Introduce 'tflite_benchmark' tool (#298)
This commit introduces 'tflite_benchmakr' which repeats 'Invoke' call
and measures elapsed time for each 'Invoke' call.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 04:53:44 +0000 (13:53 +0900)]
Implement Event_wait Event_free
This commit implements Event_wait, Event_free and enables android::sp in NeuralNetworks.cpp.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
jiseob.jang [Thu, 29 Mar 2018 04:44:51 +0000 (13:44 +0900)]
[NN Runtime] Add `StringPointer.cpp` to libutils
This commit adds `StringPointer.cpp` to libutils.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 04:59:06 +0000 (13:59 +0900)]
Fix build error in ExecutionBuilder
- Fix build error in ExecutionBuilder
- We don't have ExecutionPlan member in ExecutionBuilder
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
sjsujinkim [Thu, 29 Mar 2018 04:18:56 +0000 (13:18 +0900)]
Add missed ExecutionBuilder constructor
This commit adds missed ExecutionBuilder constructor.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
Hyung-Kyu Choi [Thu, 29 Mar 2018 03:09:27 +0000 (12:09 +0900)]
Enable CpuExecutor::executeOperation
- Enable CpuExecutor::executeOperation by introducing required types
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Sanggyu Lee [Thu, 29 Mar 2018 02:38:34 +0000 (11:38 +0900)]
Handle NNRuntime's testcases consistently
- Put all testcases in ref/nn/runtime/sample
- Use same naming style for source code and binaries
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 29 Mar 2018 04:50:55 +0000 (13:50 +0900)]
Add Callbacks without inheritance of IExecuteCallback (#272)
* Add Callbacks without inheritance of IExecuteCallback
This commit adds Callbacks without inhritance of IExecuteCallback.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Inherit RefBase
Jonghyun Park [Thu, 29 Mar 2018 01:11:37 +0000 (01:11 +0000)]
Use shared library for convolution examples
This commit updates acl.cmake to use shared library for convolution
examples (instead of static one).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 03:12:27 +0000 (12:12 +0900)]
Introduce nnapi_test tool (#290)
* Introduce nnapi_test tool
This commit introduces nnapi_test tool, which runs T/F Lite interpreter
with and without NNAPI, and compare their result.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 29 Mar 2018 02:39:11 +0000 (11:39 +0900)]
Test script prototype for framework (#266)
* Test script prototype
Make new directory for test script
Add gitignore: cache directory for model download
Define test script
- Download inception v3 model
- Run tflite_run
HOWTO:
Ex) At root directory
DRIVER_BIN=Product/out/bin/tflite_run tests/framework/inception_v3.sh
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Set default for DRIVER_DIR
Set default value for DRIVER_DIR
Define variable for download server
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Jonghyun Park [Thu, 29 Mar 2018 00:14:09 +0000 (00:14 +0000)]
Run 'warming-up' iterations before measurement
This commit updates 'run_benchmark' function to run 3 warming-up
iterations before actual measurement.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Hyung-Kyu Choi [Wed, 28 Mar 2018 14:14:31 +0000 (23:14 +0900)]
Generate a single shared library for NN runtime
- Generate a single shared library for NN runtime
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 29 Mar 2018 01:03:45 +0000 (10:03 +0900)]
Introduce NNFW_INCLUDE_DIR for cmake (#285)
This will add common NNFW_INCLUDE_DIR for cmake
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Thu, 29 Mar 2018 01:03:34 +0000 (10:03 +0900)]
Change default to use OpenCL for experiments (#284)
This will change ACL to use OpenCL for default for experiments
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 28 Mar 2018 23:48:24 +0000 (08:48 +0900)]
Fix bindacl, convacl experiment to use environment (#280)
This will fix bindacl and convacl expierment to use envionment variable to choose NEON/OpenCL
And also remove alc's utils methods
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 23:47:10 +0000 (08:47 +0900)]
Do measure tensor update/extraction time (#279)
This commit revises tflite_run not to measure tensor setting & extraction time (for Invoke).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 23:46:22 +0000 (08:46 +0900)]
Introduce 'Inception v3' benchmark (#283)
This commit introduces 'inception v3' benchmark (which is derived from
inception v3 ACL Graph API example).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
sjsujinkim [Wed, 28 Mar 2018 10:32:23 +0000 (19:32 +0900)]
Build ExecutionBuilder
This commit builds ExecutionBuilder which is not included to build.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
jiseob.jang [Wed, 28 Mar 2018 10:08:42 +0000 (19:08 +0900)]
Change the library name of NN Runtime to `neuralnetworks`
This commit changes the library name of NN Runtime to `neuralnetworks`.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
SaeHie Park [Wed, 28 Mar 2018 09:38:38 +0000 (18:38 +0900)]
Update gitignore for acl build outputs
This will add git ignore file/folders for acl
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
SaeHie Park [Wed, 28 Mar 2018 10:32:19 +0000 (19:32 +0900)]
Fix convacl to use unique_ptr
This will fix convacl experiment to use std::unique_ptr
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 28 Mar 2018 10:03:06 +0000 (19:03 +0900)]
Fix bindacl experiment (#274)
* Fix bindacl experiment
This will fix bindacl experiment by adding its own dummy accessor
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* use new for unique_ptr
Jonghyun Park [Wed, 28 Mar 2018 07:39:45 +0000 (07:39 +0000)]
Update acl.cmake for v18.03
This commit updates acl.cmake to build ARM Compute Library v18.03
correctly.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Hyung-Kyu Choi [Wed, 28 Mar 2018 08:08:01 +0000 (17:08 +0900)]
Enable members of CpuExecutor and required types
- Enable members of CpuExecutor and required types
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
sjsujinkim [Wed, 28 Mar 2018 07:54:54 +0000 (16:54 +0900)]
Implement Execution_free
This commit implements Execution_free.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Wed, 28 Mar 2018 07:56:23 +0000 (16:56 +0900)]
Remove including duplicate of CompilationBuilder.h
This commit removes including duplicate of CompilationBuilder.h in NeuralNetworks.cpp
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 08:29:11 +0000 (17:29 +0900)]
Update cmake rule for reference NN runtime (#254)
* Update cmake rule for reference NN runtime
- Create a single libneuralnetworks_ref.so for a reference NN runtime
- Later we will remove unnecessary targets after unit tests are updated
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* Update cmake rules
- Move TODO-NNRT comment to correct location
- Update rules to correctly include source files
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
sjsujinkim [Wed, 28 Mar 2018 06:47:19 +0000 (15:47 +0900)]
Implement Execution_create
This commit implements Execution_create.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 28 Mar 2018 08:05:54 +0000 (17:05 +0900)]
Change Log.h to android-base/logging.h (#262)
* Change Log.h to android-base/logging.h
This commit changes Log.h to android-base/logging.h for minimum change of exist implementations.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* change quotes to <> for including
Hyung-Kyu Choi [Wed, 28 Mar 2018 03:55:58 +0000 (12:55 +0900)]
Introduce C++ wrapper for NN APIs
- Introduce C++ wrapper for NN APIs, becuase this wrapper is used by unit
tests of Android NN using gtest
- Introduce a test using C++ wrapper
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 28 Mar 2018 07:32:22 +0000 (16:32 +0900)]
Copy StrongPointer from ANN (#255)
* Copy StrongPointer from ANN
This commit copies StrongPointer from ANN.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Inlucde StrongPointer.h into HidlSupport.h
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 28 Mar 2018 07:15:08 +0000 (16:15 +0900)]
Introduce environment utilities methods (#246)
* Introduce environment utilities methods
This will add some environment utliity methods to make things easy
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 07:14:29 +0000 (16:14 +0900)]
Add libarmcl-devel dependancy for obs build (#259)
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
jiseob.jang [Tue, 27 Mar 2018 07:56:31 +0000 (16:56 +0900)]
introduce runtime_sample from android_nn_sample app.
This commit introduces runtime_sample from android_nn_sample app.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
sjsujinkim [Mon, 26 Mar 2018 09:36:29 +0000 (18:36 +0900)]
Add simple example for NNRT
This commit adds simple example for NNRT.
(3x4 tensor ADD 3x4 tensor)
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 06:00:09 +0000 (15:00 +0900)]
Add vim/ctags/gnu-global temp files into .gitignore (#251)
This commit updates .gitignore to include temporary files of `vim/ctags/gnu-global`.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 04:50:42 +0000 (13:50 +0900)]
Import ARM Compute Library (v18.03) (#253)
This commit updates (included) ARM Compute Library. Codes are imported
from
c3f34a43ff commit.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 28 Mar 2018 04:50:29 +0000 (13:50 +0900)]
Support to create memory by file descriptor only (#224)
* Support to create memory by file descriptor only
This commit makes it supports to create memory by file descriptor only.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Change mPointer to mBuffer
* Modify TODO comment
이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 28 Mar 2018 04:27:29 +0000 (13:27 +0900)]
Update workgroup information links in `roadmap.md` (#250)
Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 04:26:25 +0000 (13:26 +0900)]
Update how-to doc links in README.md (#242)
This commit updates how-to doc links in README.md in order to reflect
recent changes in how-to documents.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 28 Mar 2018 01:58:56 +0000 (10:58 +0900)]
Add the first version of roadmap.md (#138)
* Add the first version of roadmap.md
For issue #86
This patch adds the first version of roadmap.md to share the goal,
milestones, and tasks among participants in this nnfw project.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
sjsujinkim [Tue, 27 Mar 2018 06:46:13 +0000 (15:46 +0900)]
Enable copyLargeValuesToSharedMemory in ModelBuilder
This commit enables copyLargeValuesToSharedMemory in ModelBuilder.
It doesn't works now. If the Memory::create() is implemented, it works well.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 28 Mar 2018 01:24:17 +0000 (10:24 +0900)]
Set and dump acl-conv experiment (#243)
This will update acl convolution experiment to
set input and weight values and dump input/out values of the tensor
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 28 Mar 2018 00:22:26 +0000 (09:22 +0900)]
Fix arm cross build to refer correct system header (#233)
This will fix arm cross build to reference correct system header path
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 27 Mar 2018 08:18:56 +0000 (17:18 +0900)]
Add document for xu4 ubuntu (#209)
* Add document for xu4 ubuntu
This will add initial document how to use Ubuntu on ODroid XU4
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 27 Mar 2018 08:00:25 +0000 (17:00 +0900)]
Introduce GoogLeNet & MobileNet benchmark (#232)
* Introduce GoogLeNet & MobileNet benchmark
This commit introduces GoogLeNet & MobileNet benchmark based on ARM
Compute Library.
These benchmarks are almost same as corresponding examples in ARM Compute
Library except that run method are invoked multiple times.
This commit introduces custom ITensorAccessor implementations (instead of
DummyAccessor in Graph Util) to make it possible measure elpased time over
multiple graph run.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
* Use 'benchmark/acl' directory
* Update 'BUILD_BENCHMARK_ACL' dsecription
Sangmin Seo [Tue, 27 Mar 2018 06:33:55 +0000 (15:33 +0900)]
Update README.md to mention cross compiler installation
For the cross build for ARM, we may need to install ARM cross gcc/g++.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 27 Mar 2018 06:22:11 +0000 (15:22 +0900)]
Update model parser: multiple subgraph (#210)
Update model parser
- Can handle multiple subgraph
- Change while loop
- Remove opcode list generation
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 27 Mar 2018 06:07:06 +0000 (15:07 +0900)]
Update logging to print more information (#198)
- Print type of ANeuralNetworksOperandType
- Print model for ANeuralNetworksModel_addOperation
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 27 Mar 2018 05:31:44 +0000 (14:31 +0900)]
Move target device related documents inside device folder (#228)
This will move target device related documents inside device folder
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 27 Mar 2018 04:58:04 +0000 (13:58 +0900)]
Introduce 'arm_compute_graph_test' library (#227)
This commit introduces 'arm_compute_graph_test' library to make it easy
to add new examples.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Hyung-Kyu Choi [Mon, 26 Mar 2018 14:43:07 +0000 (23:43 +0900)]
Introduce skeleton of ExecutionBuilder from Android NN
- Introduce skeleton of ExecutionBuilder from Android NN
- Comment out implementations using "#if 0 // REF-ANN"
- No modification for the code
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 27 Mar 2018 01:32:04 +0000 (10:32 +0900)]
Update README for arm cross build (#223)
This will update README with required packages for RootFS preparation used in arm cross build
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 27 Mar 2018 01:30:58 +0000 (10:30 +0900)]
Set dependency on ACL version tag correctly (#190)
This commit revises 'external/acl.cmake' to set dependency on ACL
version tag correctly to support parallel/incremental build.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 27 Mar 2018 00:40:53 +0000 (09:40 +0900)]
Add the first version of workgroups.md (#141)
* Add the first version of workgroups.md
For issue #123
This commit adds the first version of workgroups.md.
Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
jiseob.jang [Mon, 26 Mar 2018 11:31:31 +0000 (20:31 +0900)]
Introduce hidl_string from libhidl of android.
This commit introduce hidl_string from libhidl of android.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
sjsujinkim [Mon, 26 Mar 2018 11:10:05 +0000 (20:10 +0900)]
Implement Model_setOperandValueFromMemory
This commit implements Model_setOperandValueFromMemory.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
jiseob.jang [Mon, 26 Mar 2018 11:09:20 +0000 (20:09 +0900)]
Introduce ashmem from libcutils of android.
This commit introduce ashmem from libcutils of android.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
sjsujinkim [Mon, 26 Mar 2018 04:14:56 +0000 (13:14 +0900)]
Implement Model_identifyInputsAndOutputs
This commit implements Model_identifyInputsAndOutputs.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Mon, 26 Mar 2018 10:23:53 +0000 (19:23 +0900)]
Implement Memory_createFromFd and free
This commit implements Memory_createFromFd and free.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Mon, 26 Mar 2018 08:43:24 +0000 (17:43 +0900)]
Implement Model_addOperation
This commits Model_addOperation and enables below helpers.
- setFromIntList
- validCode
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 26 Mar 2018 11:02:27 +0000 (20:02 +0900)]
Add Memory.h, Memory.cpp without IMemory (#207)
* Add Memory.h, Memory.cpp without IMemory
This commit adds Memory.h and Memory.cpp without IMemory.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Add getPointer of MemoryFd
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 26 Mar 2018 08:01:24 +0000 (17:01 +0900)]
Add gitignore: python cache file (#206)
Add python cache file in gitignore
It's generated when we import python module in console mode
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 26 Mar 2018 07:25:31 +0000 (16:25 +0900)]
Introduce image importer (#205)
This commit introduces image importer to convert
jpeg or png images to bin.
The binary file only has the pixel values.
It does not have size.
The output will be used for `tflite_run`.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 26 Mar 2018 07:24:52 +0000 (16:24 +0900)]
Add loading input(jpg) and printing output for tflite_run (#200)
This commit introduces:
- Loading a jpeg image as an input
- Printing max index from the output feature map of the last layer.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
sjsujinkim [Mon, 26 Mar 2018 02:31:25 +0000 (11:31 +0900)]
Implement Model_setOperandValue
This commit implements Model_setOperandValue and enalbes below helpers.
- sizeOfData
- alignBytesNeeded
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
sjsujinkim [Fri, 23 Mar 2018 08:34:47 +0000 (17:34 +0900)]
Implement Model_addOperand
This commit implements Model_addOperand.
It has dependency on #195.
If #195 is landed, it would work well.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 26 Mar 2018 04:51:07 +0000 (13:51 +0900)]
Use shared library for LeNet example (#188)
This commit revises 'external/acl.cmake' to use shared library (instead
of static library) for LeNet example build.
This allows users to run 'graph_lenet' example.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Hyeongseok Oh [Thu, 22 Mar 2018 10:19:49 +0000 (19:19 +0900)]
TFLite model file parser
Print operator and tensor information in TF Lite model file
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Hyeongseok Oh [Thu, 22 Mar 2018 10:02:42 +0000 (19:02 +0900)]
Helper python code for TFLite model file parsing
Include generated python helper by flatc with schema in tools/tflitefile_tool/tflite
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>