윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 10:13:43 +0000 (19:13 +0900)]
[exo] Initializing TFLAdd's fused activation func in existing test code (#8168)
Some test code does not initializes TFLAdd's fused activation func. This commit adds that.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 10:13:32 +0000 (19:13 +0900)]
[exo] type and shape inference for Relu6 (#8171)
This adds type and shape inference for Relu6.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 15 Oct 2019 08:02:57 +0000 (17:02 +0900)]
[exo] Pass to fold Transpose + Const (#8155)
This commit introduces pass to fold Transpose of Const node
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 08:02:27 +0000 (17:02 +0900)]
[moco-tf] Node GraphBuilder header (#8158)
* [moco-tf] Node GraphBuilder header
This will introduce header for GraphBuilder for nodes that doesn't have one.
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* fix guard
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 07:49:27 +0000 (16:49 +0900)]
[exo-tflite] test cases for FuseConv2DAddSubPass (#8101)
* [exo-tflite] test cases for FuseConv2DAddSubPass
This adds four test cases for FuseConv2DAddSubPass.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* make const value 1.5, 3
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 15 Oct 2019 07:46:28 +0000 (16:46 +0900)]
[res] Remove deprecated test case (#8165)
This commit removes deprecated test case.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 07:45:57 +0000 (16:45 +0900)]
[exo] Initialize TFLConv2D member vars (#8166)
This adds an initialization of TFLConv2D member vars.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 07:42:59 +0000 (16:42 +0900)]
[exo] Add fusedActivationFunction to TFLAdd and TFLMul (#8161)
* [exo] Add fusedActivationFunction to TFLAdd and TFLMul
TFLAdd and TFLMul now has an attribute for fusedActivationFunction.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* Modify circle exporter
* remove unused param
* defined and used init_fused_act_func
* remove constructor. init member vars directly
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 15 Oct 2019 06:07:46 +0000 (15:07 +0900)]
[nncc] Remove ENABLE_CONTRIB_BUILD option (#8156)
This option was introduce when nncc has "contrib" directory, but
"contrib" directory no longer exists.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 15 Oct 2019 06:01:08 +0000 (15:01 +0900)]
[CI] Revise test report directory (#7994)
Divide test report directory for each scheduler
Use mixed backend test for graph generation test
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 15 Oct 2019 05:28:03 +0000 (14:28 +0900)]
NNAS create-package command (#8086)
* NNAS create-package command
This commit introduces create-package command.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
* Add TODO and some comments
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 15 Oct 2019 03:38:26 +0000 (12:38 +0900)]
[loco] Add comment to TensorConstantPad (#8022)
* [loco] Add comment to TensorConstantPad
This commit adds comment to TensorConstantPad IR in loco.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* make comment more clear.
* apply comment.
* modify comment.
* modify comment.
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 15 Oct 2019 03:37:00 +0000 (12:37 +0900)]
[android] Remove unncessary CMakeLists comments (#8151)
Remove comments that are no longer helpful.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 03:29:43 +0000 (12:29 +0900)]
[exo] Using C++ 11 style static_assert (#8152)
This modifies static_assert from c++ 17 style to c++ c++ 11 style.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 15 Oct 2019 03:00:25 +0000 (12:00 +0900)]
[tflite_loader] Model file verification (#8132)
Verification check before tflite model loading
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 15 Oct 2019 01:38:09 +0000 (10:38 +0900)]
[nnapi] Fix transpose conv NNAPI test (#8127)
Set kernel to constant, not model input
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 15 Oct 2019 01:36:00 +0000 (10:36 +0900)]
Apply optimized cpu kernel for SoftMaxFloat32 (#7943)
This commit applies optimized cpu kernel for SoftMaxFloat32.
- Introduce optimized cpu kernel of SoftMax for float
- Apply that kernel for cpu backend of neurun
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 01:17:18 +0000 (10:17 +0900)]
[nnpkg-run] allow --load to accept little endian (#8116)
It will allow little endianness in `nnpackage-run`.
`hdf5` internally convert endianness if necessay.
All we need is to allow little endian from if-condition.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 00:59:15 +0000 (09:59 +0900)]
[tf2circle] Initial copy from tf2tflite (#8145)
* [tf2circle] Initial copy from tf2tflite
This will add working tf2circle from copy of tf2tflite
- CustomOp support is not added cause of duplicate code for now
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* leave message
* remove test material conversion related
* fix build error, remove unused, fix comment
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 00:49:11 +0000 (09:49 +0900)]
[moco] Add naming rule as a comment (#8147)
This will add some comment for naming rule for TF dialect OPCODE and input accessor
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 00:27:23 +0000 (09:27 +0900)]
[moco-tf] Add naming rule as a comment (#8144)
* [moco-tf] Add naming rule as a comment
This will add some comment for naming rule for TF dialect OPCODE and input/output accessor
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* remove output
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 00:21:13 +0000 (09:21 +0900)]
[moco-tf] Graph build Relu Relu6 as TF dialect (#8141)
This will update graph builder to produce only TF dialect for Relu and Relu6 node
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 00:20:56 +0000 (09:20 +0900)]
[moco-tf] Graph build MaxPool as TF dialect (#8140)
This will update graph builder to produce only TF dialect for MaxPool node
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 15 Oct 2019 00:15:30 +0000 (09:15 +0900)]
[moco-tf] Graph build Identity as TF dialect (#8139)
This will update graph builder not to produce only TF dialect for Identity node
- related Importer test is also modified to work with this change
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 22:20:22 +0000 (07:20 +0900)]
[moco-tf] Graph build Concat as TF dialect (#8131)
This will remove Graph builder fro Concat as Canonical dialect and build only TF dialect
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 22:19:58 +0000 (07:19 +0900)]
[moco-tf] Graph build Const as TF dialect (#8133)
This will remove Graph builder for Const as Canonical dialect and build only TF dialect
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 22:19:37 +0000 (07:19 +0900)]
[moco-tf] Graph build Conv2D as TF dialect (#8135)
This will remove Graph builder for Conv2D as Canonical dialect and build only for TF dialect
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 22:19:18 +0000 (07:19 +0900)]
[moco-tf] Graph build BiasAdd as TF dialect (#8130)
This will remove Graph builder for BiasAdd as Canonical dialect and build only for TF dialect
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 22:10:00 +0000 (07:10 +0900)]
[moco-tf] Graph build for AvgPool as TF dialect (#8128)
This will remove Graph builder for AvgPool as Canonical dialect and build only for TF dialect
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Refine [mir] operations constructors in order to simplify interface. (#8044)
Operations attributes are united into structures.
Signed-off-by: Dmitry Gusev <d.gusev@partner.samsung.com>
[mir] Introduce AffineQuantization in MIR (#8077)
* Implemented AffineQuantization
* Added helpers for setting Quantization to TensorVariant and TensorType
Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
[exo-tflite] Overload to_shape_description for MatrixShape (#8009)
Add overload of `to_shape_description` for `MatrixShape`.
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 12:33:24 +0000 (21:33 +0900)]
[docs] Introduce CrossBuildForAndroid.md for nnfw (#7976)
* [docs] Introduce CrossBuildForAndroid.md for nnfw
This commit introduces `CrossBuildForAndroid.md` for Android Cross
Build Instruction.
Resolve #7892
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* Symlink Makefile rather than copying
* Complete the incomplete sentence
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 11:24:19 +0000 (20:24 +0900)]
Make to support BatchToSpaceND op for acl neon (#7986)
This commit makes to support BatchToSpaceND op for acl neon.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
[mir] Introduce new operations: Quantize and Dequantize (#8050)
* Append QuantizeOp and DequantizeOp on mir
Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 09:59:15 +0000 (18:59 +0900)]
Make to support ResizeBilinear op on tflite_loader (#8008)
This commit makes to support ResizeBilinear op on tflite_loader.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 08:04:34 +0000 (17:04 +0900)]
[loco] TensorConstantPad shape and type inference (#8043)
* [loco] TensorConstantPad shape and type inference
This commit support shape and type inference of TensorConstantPad.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* format patch.
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 08:01:17 +0000 (17:01 +0900)]
[exo] Set DataFormat of subgraph for Circle (#8113)
* [exo] Set DataFormat of subgraph for Circle
This will set DataFormat of the sub graph for Circle format as default
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* update comment
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 07:46:43 +0000 (16:46 +0900)]
Install exo and exo-tflite (#8107)
From now on, install command will put exo and exo-tflite librarry into
the specified output directory.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 07:32:48 +0000 (16:32 +0900)]
Add "NET_0010" manifest (#8059)
This commit adds NET_0010 test manifest.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 07:25:34 +0000 (16:25 +0900)]
[moco-tf] Remove unused WindowData header (#8121)
This will remove not used anymore WindowData.h file
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 06:55:34 +0000 (15:55 +0900)]
[moco-tf] Remove unused PadData and StrideData (#8115)
This will remove not used anymore PadData and StrideData annotations
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 06:52:36 +0000 (15:52 +0900)]
[moco-tf] Turn ON knobs for resolving Reshape (#8117)
This commit turns on following knobs:
- ResolveDuplicateReshape
- ResolveRedundantReshape
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 06:49:58 +0000 (15:49 +0900)]
[moco-tf] Fix Placeholder import (#8114)
Previously, Placeholder with negative value was not caught by assertion,
and converted to Pull with overflowed value. This commit fixes this
behaviour
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 06:49:37 +0000 (15:49 +0900)]
[tf2tflite] use exo (#8109)
This will update tf2tflite to use exo instead of exo_tflite
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 06:49:14 +0000 (15:49 +0900)]
[exo] Update includes (#8105)
This will remove not needed anymore header includes for ExportUtils
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 06:48:38 +0000 (15:48 +0900)]
[exo] use circle for comments and methods (#8111)
This will update to use Circle for comments and local methods
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 06:36:33 +0000 (15:36 +0900)]
[nnfw-api] Introduce resize input API (#8034)
* [nnfw-api] Introduce resize input API
Introduce API for resize input: nnfw_apply_tensorinfo
Internal implementation always return error - NYI
Update related API's comment based on doxygen format
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* update comment
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 06:24:14 +0000 (15:24 +0900)]
[nnapi-test] Use android 10 test generation (#8040)
Use android 10 test generation
- Disable TestCompliance util
- Disable _Float16 feature
- Disable dynamic output shape test generation
- Fix to use c++11 feature
- Update generated code archive for tizen build
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 06:13:34 +0000 (15:13 +0900)]
[nnfw-api] explain nnfw_set_backend and nnfw_set_op_backend more (#8071)
It explains more about nnfw_set_backend and nnfw_set_op_backend.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 06:12:10 +0000 (15:12 +0900)]
[nnpkg-tcs] Run nnpkg-tcs after tc exists (#8119)
Some nnpkg-tcs are not generated via `tf2tflite` test filter.
Thus, nnpkg-tcs checks whether test case exists before running.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 04:47:10 +0000 (13:47 +0900)]
[exo] Adding FuseConv2DAddSubPass into TFLOptimize.cpp (#8102)
Now FuseConv2DAddSubPass runs when UseFuseConv2DAddSubPass knob is on.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 04:43:20 +0000 (13:43 +0900)]
Let locomotiv be installable (#8089)
From now on, install command will put locomotive library into the proper
location.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 04:42:52 +0000 (13:42 +0900)]
[moco-tf] Rename TestHelper filename (#8104)
This will rename TestHelper to TestHelper.test so that it only exist for test executable not shared library
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 04:41:03 +0000 (13:41 +0900)]
[moco-integration-test] Add renamed test case (#8098)
This commit adds renamed test case.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 04:34:56 +0000 (13:34 +0900)]
Let make moco-tf installable (#8093)
From now on, install command will put moco-tf library into a proper
location.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 04:34:43 +0000 (13:34 +0900)]
[exo] add copy of TFExporter as CircleExporter (#8094)
This will add a copy of TFExporter and related files as CircleExporter to export Circle file
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 04:25:41 +0000 (13:25 +0900)]
Let make tf2tflite installable (#8096)
From now on, install command will put tf2tflite binary into a proper
location.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 04:20:13 +0000 (13:20 +0900)]
[moco-tf] Remove ShapeInferenceData annotation (#8100)
This will remove ShapeInferenceData annotation that was replaced by loco NodeShape
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 03:46:06 +0000 (12:46 +0900)]
[moco-tf] TFShapeInferenceRule test (#8074)
This will add TFShapeInferenceRule test from old FixShapeTransform test
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 03:35:40 +0000 (12:35 +0900)]
[tflite2circle] Remove the limitation of running under nnfw root (#8068)
Now, it uses the pathname of the currently executing script to calculate the default path for other resources.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 03:17:21 +0000 (12:17 +0900)]
[tf2tflite] Add renamed test case (#8088)
This commit adds renamed test case to tf2tflite.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 01:57:25 +0000 (10:57 +0900)]
[exo] Change target to exo (#8073)
* [exo] Change target to exo
This will update CMake target to exo
- add a temporary exo_tflite target for dependent targets
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* one more change
* add a dup instead of interface
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Mon, 14 Oct 2019 01:52:06 +0000 (10:52 +0900)]
[moco-tf] Add Pad canonicalizer (#8030)
* [moco-tf] Add Pad canonicalizer
This commit adds Pad canonicalizer to moco-tf.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* apply commnets.
* apply comment.
* Simplify method to get rank of padding.
* fix wrong assert.
* add comments in canonicalization.
* make comment more clear.
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 01:48:19 +0000 (10:48 +0900)]
[exo] fix namespace for local method (#8087)
This will fix namespace to anonymous for local method encodeOperatorCodes
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 01:33:15 +0000 (10:33 +0900)]
[moco] Add Pad IR (#8090)
This will copy Pad IR from moco-tf
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
[neurun] Implement circle_loader (#8079)
Implement `CircleLoader` by deriving it from `BaseLoader`.
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Mon, 14 Oct 2019 00:45:33 +0000 (09:45 +0900)]
[nncc] Set proper RPATH on installation (#8057)
This commit makes install command (such as make install) to generate
a portable package.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Mon, 14 Oct 2019 00:39:00 +0000 (09:39 +0900)]
[moco-tf] Remove FixShapeTransform (#8075)
This will remove FixShapeTransform and related codes that is replaced by TFShapeInferenceRule
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 10:38:52 +0000 (19:38 +0900)]
[cmake] Fix endif mismatching warning (#8070)
Fix if-endif mismatching warning in cker cmake
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 08:27:39 +0000 (17:27 +0900)]
[exo] Relocate and rename exo-tflite to exo (#8069)
This will relocate and rename exo-tflite to exo to prepare export of Circle format
- all tflite related files are moved inside TFLite folder
- local files have tflite_detail sub namespace
- some unused headers exist and will be removed in next PR
- CMake target is still exo_tflite and will be changed in next PR
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 08:22:58 +0000 (17:22 +0900)]
[cmd] Format checker check unstaged files and ignore untracked files (#8058)
Ignore untracted file on format checking command
Add modified file on develop branch format checking command
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 07:57:04 +0000 (16:57 +0900)]
[cker] cker optimized build option (#8065)
Introduce cker optimized build option to disable optimized cker build on eigen usable environment
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 07:56:45 +0000 (16:56 +0900)]
[loco] Install shared library (#8051)
TNow, it is possible to install "libloco.so" with install command (e.g. make install).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 07:56:34 +0000 (16:56 +0900)]
[locoex-customop] Support Install (#8055)
Let's make it possible to install locoex-customop with install command.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 07:56:21 +0000 (16:56 +0900)]
[moco-log] Support Install (#8056)
Let's make it possible to install moco-log with install command!
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 06:59:11 +0000 (15:59 +0900)]
[exo-tflite] Test to check if transpose is exported OK (#8000)
* [exo-tflite] Test to check if transpose is exported OK
This adds two tests to see if transpose is exported OK.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* knob check
* revise comment for perm vector; removed unused vars
* add todo; replace 'if' to 'ASSERT_EQ'
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 06:55:48 +0000 (15:55 +0900)]
[moco-tf] Revise shape inf for TFShape and rest (#8053)
This will revise shape inference for TFShape and reset of the nodes to be done in TFShapeInferenceRule
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 06:53:55 +0000 (15:53 +0900)]
[exo-tflite] Renaming DefaultLayout to FeatureLayout (#8046)
* [exo-tflite] Renaming DefaultLayout to FeatureLayout
DefaultLayout is renamed to to FeatureLayout.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* fix comment
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 11 Oct 2019 06:33:07 +0000 (15:33 +0900)]
[logo] Constant folding skips TensorBroadcast (#7847)
* [logo] Constant folding skips TensorBroadcast
TensorBroadcast is a good hint for optimizaiton. Let's skip this for
constant folding.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Add TODO comment
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 06:30:49 +0000 (15:30 +0900)]
[exo-tflite] Code to perform fusing TFLAdd/TFLSub into TFLConv2D (#8037)
* [exo-tflite] Code to perform fusing TFLAdd/TFLSub into TFLConv2D
This adds code that fuses TFLAdd/TFLSub into TFLConv2D.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* remove unused param
* todo for cyclomatic complexity
김용섭/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 11 Oct 2019 04:20:19 +0000 (13:20 +0900)]
[neurun] Prepare tryDeallocConst to ExecutorFactory (#7333)
* [neurun] Prepare tryDeallocConst to ExecutorFactory
Prepare tryDeallocConst to ExecutorFactory and remove unused lines
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
* Add TODO
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Fri, 11 Oct 2019 04:10:05 +0000 (13:10 +0900)]
[res] Add simple Pad network with constant (#7982)
* [res] Add simple Pad network with constant
This commit add simple Pad network with constant_value.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* rename test folder.
* rename menifest file.
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Fri, 11 Oct 2019 01:39:25 +0000 (10:39 +0900)]
Introduce tf2circle (#8038)
This commit introduces tf2circle with a dummy implementation in order to
create a room for co-work.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 01:26:06 +0000 (10:26 +0900)]
[res/TensorFlowTests] Remove "use_cudnn_on_gpu" attrib in pbtxt files (#8041)
"use_cudnn_on_gpu" was removed from all pbtxt files in 'res/TensorFlowTests'.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Fri, 11 Oct 2019 01:04:16 +0000 (10:04 +0900)]
[moco-tf] Revise shape inf for Mean Mul (#8017)
* [moco-tf] Revise shape inf for Mean Mul
This will revise shape inference for TFMean and TFMul node to be done in TFShapeInferenceRule
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* remove unused var
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 10 Oct 2019 23:37:36 +0000 (08:37 +0900)]
[moco-tf] Add Pad GraphBuilder (#8032)
* [moco-tf] Add Pad GraphBuilder
This commit adds Pad GraphBuilder to moco-tf.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* check whether it has a right attribute.
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 23:37:08 +0000 (08:37 +0900)]
[exo-tflite] Rewriting a test using TestGraph (#8045)
minimal_with_TFLRelu is re-written with TestGraph to shorten code.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 23:31:45 +0000 (08:31 +0900)]
[exo-tflite] Introducing TFLRelu6 (#8048)
This introduce TFLRelu6 node, which is one of ops that can be fused into conv2d.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 23:31:19 +0000 (08:31 +0900)]
[exo-tflite] Fix wrong logging input name of Relu (#8049)
TFLRelu has `features()` as its input. This commit fix wrong name ("input") to "features".
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 22:04:41 +0000 (07:04 +0900)]
[tf2tflite] update exo-tflite dependency (#8035)
This will update tf2tflite to use exo to prepare exporter migration to exo folder
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 10 Oct 2019 10:14:14 +0000 (19:14 +0900)]
Change model IR for ResizeBilinear param (#8025)
This commit changes model IR for ResizeBilinear param to scalar.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 10 Oct 2019 10:06:12 +0000 (19:06 +0900)]
[nnfw-cmake] Support gmock library (#8031)
Prepare to support gmock - android 10 nnapi test require gmock
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 10 Oct 2019 09:49:27 +0000 (18:49 +0900)]
[res] Add Pad network with REFLECT mode (#7984)
* [res] Add Pad network with REFLECT mode
This commit add Pad network with REFLECT mode.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* fix info.
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 09:43:45 +0000 (18:43 +0900)]
[moco-tf] Revise shape inf for RealDiv and others (#8021)
This will revise shape inference for TFRealDiv and other nodes starting with R to be done in TFShapeInferenceRule
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 09:22:42 +0000 (18:22 +0900)]
[exo-tflite] turning a knob : ConvertTensorTranspose (#8033)
ConvertTensorTranspose knob became true by default.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 09:22:03 +0000 (18:22 +0900)]
[exo-tflite] Introducing a pass that fuse TFLConv2D and [TFLAdd or TFLSub] (#7995)
* [exo-tflite] Introducing a pass that fuse TFLConv2D and [ TFLAdd or TFLSub ]
This introduces a pass that fuse TFLConv2D and [ TFLAdd or TFLSub ]. Real fusing code will be committed in next PR.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* renaming new_bias_node to widened_const
* removed comment that says bias of conv2d is all 0's
* fix type + use more specific node names
* stop using loco::replace(..) for widened bias const
* removed unused vars
* bug fix for set_const_input
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 08:46:37 +0000 (17:46 +0900)]
[exo-tflite] turning on some knobs (#8002)
This turns knobs of some knobs. (all knobs except knobs related to Conv2D)
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 10 Oct 2019 08:46:01 +0000 (17:46 +0900)]
[res] Rename testcase as convention (#8029)
* [res] rename testcase as convention
This commit renames some testcase as naming convention.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* apply comment.
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 10 Oct 2019 08:38:37 +0000 (17:38 +0900)]
[res] Test case to check fusing [ Conv2D - Sub ] (#7991)
Adding a test case to check fusing [ conv2d - sub ] subnetwork into Conv2D of which bias is set to y value of Sub.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>