summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Mar 2018 23:32:41 +0000 (08:32 +0900)]
Add bindacl project to use ACL from NNAPI (#114)
This will introduce bindacl project to enable binding of ACL from NNAPI
This patch is a copy of logging without logging and does not include ACL for staring point
sjsujinkim [Wed, 21 Mar 2018 08:00:45 +0000 (17:00 +0900)]
Remove original codes
sjsujinkim [Wed, 21 Mar 2018 07:42:44 +0000 (16:42 +0900)]
Implement ANeuralNetworksModel_create
This commit implements ANeuralNetworksModel_create and adds skeletons of ModelBuilder.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Mar 2018 11:16:48 +0000 (20:16 +0900)]
[acl] add .gitignore (#110)
This will add .gitignore for acl temporary files to make development happy
Hanjoung Lee [Wed, 21 Mar 2018 07:20:50 +0000 (16:20 +0900)]
Update dummy runner to use libruntime
The dummy executable calls model creation/freeing API.
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 21 Mar 2018 06:52:21 +0000 (15:52 +0900)]
Support build with multiple jobs (#105)
To make build faster, we should give `-j #` option for `make`.
The number of jobs will be same as the number of the processors by default.
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Mar 2018 06:51:55 +0000 (15:51 +0900)]
Fix ACL install order (#109)
* Fix ACL install order
This will fix to install ACL libraries befor installing nnfw
* move mkdir inside if
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Mar 2018 06:51:27 +0000 (15:51 +0900)]
Fix comment for tizen for cmake option file (#115)
This will fix some todo comment for tizen
Hanjoung Lee [Wed, 21 Mar 2018 05:23:22 +0000 (14:23 +0900)]
Add skeleton of NeuralNetworks.cpp
Import NeuralNetworks.cpp from Android NN but most implmentation are commented
out for reference.
Hanjoung Lee [Tue, 20 Mar 2018 12:54:31 +0000 (21:54 +0900)]
Have NeuralNetworks.h in runtime/ref
Add NN API header to runtime/ref.
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 20 Mar 2018 23:26:00 +0000 (08:26 +0900)]
Restructure runtime source (#104)
Add subdirectory `nn/runtime` and put files in it to be same as original
directory structure.
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Mar 2018 23:22:25 +0000 (08:22 +0900)]
Enable ACL build (#99)
This will call ACL build when building nnfw. Output .SO files will be copied to out/bin folder with install.
Hanjoung Lee [Tue, 20 Mar 2018 11:27:43 +0000 (20:27 +0900)]
Add CMakeLists.txt for runtime
And this adds a "Hello World" executable for dummy build.
jiseob.jang [Tue, 20 Mar 2018 11:04:50 +0000 (20:04 +0900)]
Modified to build on x86_64.
Actually, This commit changed it to build on another environment not Tizen, but test for build was only on x86_64.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 20 Mar 2018 10:53:35 +0000 (19:53 +0900)]
obs spec file added (#97)
Hyung-Kyu Choi [Tue, 20 Mar 2018 09:22:38 +0000 (18:22 +0900)]
move runtime to src/runtime
- move runtime to src/runtime
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 20 Mar 2018 09:14:27 +0000 (18:14 +0900)]
Merge pull request #96 from jiseob-jang/import_android_nn
Merge source of android nn from NN_Runtime
이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 20 Mar 2018 08:48:35 +0000 (17:48 +0900)]
Fix armv7l native build fail on obs (#93)
1. Add option_armv7l-tizen.cmake
2. Set default HOST_OS to be linux
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 07:30:32 +0000 (16:30 +0900)]
fix problems caused by using different kinds of compilers.
* problems
- Taking address of temporary array
- Calling an class's methods within a lambda function
- Non initializing constant value
An static constant variable in the class is called by static_assert in the constructor before it makes to a constant expression by static constant initialization.
- Missing noexcept Keyword
- Non-trivial designated initializers not supported
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 06:39:40 +0000 (15:39 +0900)]
Fix problems caused by using other kinds of standard libraries.
- change including atomic.h to including catomic.
- change including sched.h to including linux/sched.h.
- add including cstdint, vector, cstring.
- add defining SIZE_T_MAX.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 06:35:27 +0000 (15:35 +0900)]
remove dependencies related to the system property of android.
This dependency is not completely removed here.
The system property of android must be replaced to doing the same thing in tizen.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 06:20:16 +0000 (15:20 +0900)]
remove dependencies related to the binding of android.
This dependency is not completely removed here for suppored other devices.
This binding feature must be replaced as d-bus of tizen and shared memory of tizen.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 05:39:40 +0000 (14:39 +0900)]
remove dependencies related to logging.
This dependencies are not completely removed.
Ultimately it should be replaced by logging system in Tizen.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 05:32:41 +0000 (14:32 +0900)]
remove depended on CallStack
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 05:26:09 +0000 (14:26 +0900)]
remove depended on android/dlext.h.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Thu, 1 Feb 2018 04:20:10 +0000 (13:20 +0900)]
added cmake files to build in tizen and source files of dependent libraries.
nn/depend/hal : Sources of hal interfaces for nn
nn/depend/android-base : Base sources of system core in android
nn/depend/liblog : Some sources of system core for logging in android
nn/depend/libsystem : Some source of a library for system core in android
nn/depend/libvndksupport : Some source of a library to supported vendor of device
nn/depend/external : Some sources of some external libraries used by android
nn/depend/libhidl : Some sources of the HIDL library in android
nn/depend/libhwbinder : Some sources of a library for binder IPC in android
nn/depend/libc : Some C sources of android bionic
nn/depend/libcutil : Some sources of a C library for utilities
nn/depend/libutil : Some sources of a C++ library for Utilities
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
jiseob.jang [Tue, 20 Mar 2018 08:39:26 +0000 (17:39 +0900)]
Merge commit '
11b57bfbc908c6620123aafb6b874f0ee6e0f57d' as 'experiments/android_nn'
jiseob.jang [Tue, 20 Mar 2018 08:39:26 +0000 (17:39 +0900)]
Squashed 'experiments/android_nn/' content from commit d1ca7d8
git-subtree-dir: experiments/android_nn
git-subtree-split:
d1ca7d857759855a2c5a98d63af0404bba549361
최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 20 Mar 2018 08:35:31 +0000 (17:35 +0900)]
Initial commit of reference implemeantion of NN runtime (#95)
- Initial commit of a reference implemeantion of NN runtime
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Mar 2018 04:03:33 +0000 (13:03 +0900)]
Introduce CROSS_BUILD to Makefile (#89)
This will add CROSS_BUILD variable to explictly set a cross building to give CMAKE_TOOLCHAIN_FILE to cmake or not.
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Mar 2018 01:40:12 +0000 (10:40 +0900)]
Simplify cmake config folder (#88)
This will move cmake config files to config folder like option files are placed in option folder
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Mar 2018 00:45:53 +0000 (09:45 +0900)]
Change cmake option to be form of arch-os (#85)
This will rename cmake option files to form of arch-os so to support Tizen
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Mar 2018 00:44:29 +0000 (09:44 +0900)]
Add cmake native/cross build flag (#83)
This will add a flag to determine native or cross build
And with this flag this patch will fix build for protobuf and graphdef
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 19 Mar 2018 07:47:04 +0000 (16:47 +0900)]
Fix build problem with protoc (#66)
* Fix build problem with protoc
This will fix arm cross build problem with protoc that may not be needed in target device
* add protobuf_BUILD_TESTS inside if clause
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 19 Mar 2018 07:46:16 +0000 (16:46 +0900)]
Add boost to arm rootfs (#65)
This will add boost library to arm rootfs build script
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Fri, 16 Mar 2018 09:41:21 +0000 (18:41 +0900)]
Support basic benchmark (tflite_run) (#52)
This commit revises tflite_run to show elapsed time on prepare and
invoke step.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Tue, 13 Mar 2018 08:19:35 +0000 (17:19 +0900)]
Import ARM Compute Library (v17.12) (#59)
This commit imports ARM Compute Library (v17.12) source tree as an
external dependency.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 12 Mar 2018 08:42:28 +0000 (17:42 +0900)]
Add eigen3 library (#53)
This commit addes eigen3 as a CMake target, which allows us to easily
use eigen3 in our internal implementation.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Jonghyun Park [Thu, 8 Mar 2018 08:04:04 +0000 (17:04 +0900)]
Fix bugs in encode.sh and decode.sh
This commit fixes the following bugs in encode.sh and decode.sh:
- The use of BASH-extended syntax with /bin/sh
- The use of relative path in protoc input
It seems that latest protoc recognizes relative path, but this commit
revises scripts to use absolute path to improve compatibility.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Jonghyun Park [Thu, 8 Mar 2018 01:59:55 +0000 (10:59 +0900)]
Build tensorflow_graphdef by default
This commit enables tensorflow_graphdef (and graphdump) build by
default (using protobuf in external).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 8 Mar 2018 08:26:24 +0000 (17:26 +0900)]
Simplify external/CMakeLists.txt (#44)
This commit simplifies 'external/CMakeLists.txt' via replacing foreach
statement with list(REMOVE_ITEM ...) statement.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 8 Mar 2018 08:25:33 +0000 (17:25 +0900)]
Add Dockerfile (#48)
This commit adds 'Dockerfile' which allows users to build minimal
development environment easily.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 8 Mar 2018 01:53:41 +0000 (10:53 +0900)]
Include protobuf (#46)
This commit imports protocol buffer 3.5.1 as an external dependency.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 8 Mar 2018 00:57:23 +0000 (09:57 +0900)]
Introduce graphdump tool (#43)
This commit introduces graphdump tool that shows the content of saved
models(.pb) in text.
Note that decode.sh under tools/graphdef already allows us to dump
the content of saved models, but this graphdump is introduced to test
tensorflow_graphdef library.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Thu, 8 Mar 2018 00:57:15 +0000 (09:57 +0900)]
Introduce run (#41)
This commit introduces 'run' script which will serve as an entry point
for various utility scripts.
This commit also introduces 'build' command as an example.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Jonghyun Park [Tue, 6 Mar 2018 08:12:01 +0000 (17:12 +0900)]
Introduce libtensorflow_graphdef
This commit introduces tensorflow_graphdef library which allows us to access
saved tensorflow graph definition.
Note that this library is disabled by default.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 [Wed, 7 Mar 2018 01:54:36 +0000 (10:54 +0900)]
CMake variable: TARGET_ARCH (#40)
* CMake variable: TARGET_ARCH
Define and use TARGET_ARCH in CMake
Remain HOST_ARCH for cross-architecture build and run (not used yet)
* Define TARGET_OS
Define TARGET_OS to avoid confusion about target environment
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Jonghyun Park [Tue, 6 Mar 2018 01:33:00 +0000 (10:33 +0900)]
Introduce (Dummy) Custom Operators
This commit introduces dummy custom operators.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Hyeongseok Oh [Mon, 5 Mar 2018 09:52:54 +0000 (18:52 +0900)]
Cross compile variable: TARGET_ARCH
Change HOST_ARCH to TARGET_ARCH that set build target architecture to avoid confusion
Fix readme: BUILD_HOST -> HOST_ARCH -> TARGET_ARCH
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
SaeHie Park [Mon, 5 Mar 2018 07:56:11 +0000 (16:56 +0900)]
Update local cache server
Update local cache server for packages to build TF
Jonghyun Park [Mon, 5 Mar 2018 00:39:37 +0000 (09:39 +0900)]
Introduce TensorFlow model encode/decode
This commit introduces TensorFlow model encode/decode script based on
protoc command.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Mar 2018 02:31:04 +0000 (11:31 +0900)]
[tf] Add operator dump in toco (#30)
* [tf] Add operator dump in toco
This will dump operators in toco tool
* simplify for
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 5 Mar 2018 02:30:40 +0000 (11:30 +0900)]
Docs add how to setup odroid xu3 link (#29)
* Docs add how to setup odroid xu3 link
This will add a link to how to setup odroid xu3 with ubuntu
* add space
* add xu3_ubunut.md
Junghyun Kim [Wed, 28 Feb 2018 06:15:41 +0000 (15:15 +0900)]
Add CI scripts
Currently, we use the docker image 'npu' which is used for NPU_Compiler.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SaeHie Park [Wed, 28 Feb 2018 01:18:10 +0000 (10:18 +0900)]
Correct build tf from source doc
This will correct Build TF from source document to match package version file name
SaeHie Park [Tue, 27 Feb 2018 08:33:07 +0000 (17:33 +0900)]
Add build TF from source document
This will add a document how to build TensorFlow and TOCO tool from source
SaeHie Park [Tue, 27 Feb 2018 08:11:32 +0000 (17:11 +0900)]
Correct ubuntu release
This will add trusty and remove wily, zesty as we work on 14.04:trusty and 16.04:xenial
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Tue, 27 Feb 2018 07:43:28 +0000 (16:43 +0900)]
Enable cross build for arm (#20)
* Enable cross build for arm
This will modify makefile to enable arm cross building
- use toolchain file for cpu architecutre
- use build path name with architecture and type(debug,release,etc)
- create existing build/install folder as an symbolic link not to alter current use case
- use cmake -B and -H option not to chdir into build folder
- update README.md file about how to cross build
* apply comments
* update readme
* fix input param
SaeHie Park [Tue, 27 Feb 2018 05:06:51 +0000 (14:06 +0900)]
[tf] Add local cache server for packages
This will add local cache server for packages that fails download through our corporate proxy server
Server address may change when relocated to another place
SaeHie Park [Tue, 27 Feb 2018 00:35:48 +0000 (09:35 +0900)]
Introduce cmake folder
This will move cmake related files into cmake folder
Jonghyun Park [Mon, 26 Feb 2018 11:00:50 +0000 (20:00 +0900)]
Update README.md
This commit updates README.md to guide how to download pre-built
TensorFlow Lite models that Google provides.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 11:00:51 +0000 (20:00 +0900)]
Fix cmake build (#16)
This will fix build failure of previous commit
Jonghyun Park [Mon, 26 Feb 2018 10:36:11 +0000 (19:36 +0900)]
Support multiple NN API bindings
This commit revises CMake script to support multiple NN API bindings.
To support multiple NN API bindings, CMake sciprt for simple logging NN API binding
is revised not to install libneuralnetworks.so into lib.
In addition, directory structres are revised.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 10:46:54 +0000 (19:46 +0900)]
Add cmake config and options (#14)
* Add cmake config and options
This will add cmake config and options for multi-arch and cross building for arm
This will not affect current makefile build configuration
* platform to os
* fix for rootfs checking
* separate os and arch
* simplify folder
Jonghyun Park [Mon, 26 Feb 2018 08:49:35 +0000 (17:49 +0900)]
Update README.md
This commit updates README.md to provide basic usage of this repo.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 08:50:16 +0000 (17:50 +0900)]
Merge pull request #12 from seanshpark/vscode
Update .gitignore for vscode
SaeHie Park [Mon, 26 Feb 2018 08:37:53 +0000 (17:37 +0900)]
Update .gitignore for vscode
This will add vscode config folder to .gitignore
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 08:36:02 +0000 (17:36 +0900)]
Merge pull request #10 from seanshpark/rootfs
Add rootfs build script
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 08:35:49 +0000 (17:35 +0900)]
Merge pull request #11 from jh1302-park/fix/install_path
Use absolute path for CMAKE_INSTALL_PREFIX
Jonghyun Park [Mon, 26 Feb 2018 08:31:51 +0000 (17:31 +0900)]
Use absolute path for CMAKE_INSTALL_PREFIX
Currently, Makefile uses relative path to set CMAKE_INSTALL_PREFIX, which
results in incorrect 'make install' behavior.
This commit revises Makefile to use absolute path when setting CMAKE_INSTALL_PREFIX
to prevent this incorrect behavior.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
SaeHie Park [Mon, 26 Feb 2018 08:28:29 +0000 (17:28 +0900)]
Add rootfs build script
This will add rootfs build script for ARM Ubuntu
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 08:26:23 +0000 (17:26 +0900)]
Merge pull request #9 from jh1302-park/fix/configure_if_not_exist
Run configure before build
Jonghyun Park [Mon, 26 Feb 2018 08:21:22 +0000 (17:21 +0900)]
Run configure before build
This commit revises Makefile to run configure before build if
configuration does not exist.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 26 Feb 2018 08:18:19 +0000 (17:18 +0900)]
Merge pull request #7 from jh1302-park/fix/Makefile
Use Makefile to simplify CMake configuration
박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 [Mon, 26 Feb 2018 08:18:11 +0000 (17:18 +0900)]
Merge pull request #6 from jh1302-park/fix/nnapi_logging
Introduce (Simple) NNAPI Implementation
Jonghyun Park [Mon, 26 Feb 2018 03:52:39 +0000 (12:52 +0900)]
Use Makefile to simplify CMake configuration
This commit introduces Makefile to simplify CMake configurations.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Jonghyun Park [Mon, 26 Feb 2018 01:57:54 +0000 (10:57 +0900)]
Introduce (Simple) NNAPI Implementation
This commit introduces Android NN API header, and simple implementation
which just shows some logging messages on it (named nnapi_logging).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 01:32:22 +0000 (10:32 +0900)]
Merge pull request #3 from jh1302-park/fix/install_path
Fix installation path
Jonghyun Park [Mon, 26 Feb 2018 01:19:58 +0000 (10:19 +0900)]
Fix installation path
This commit fixes incorrect installation path configuration to allow
local install via CMAKE_INSTALL_PREFIX option.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 26 Feb 2018 01:14:10 +0000 (10:14 +0900)]
Merge pull request #2 from jh1302-park/fix/support_basic_build
Add TensorFlow Lite and simple runner
Jonghyun Park [Mon, 26 Feb 2018 01:07:28 +0000 (10:07 +0900)]
Add TensorFlow Lite and simple runner
This commit imports TensorFlow Lite (along with its dependencies), and
introduces a simple runner.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 23 Feb 2018 06:15:50 +0000 (15:15 +0900)]
Initial commit