platform/core/ml/nnfw.git
4 years ago[mir_onnx] Inherit tensor names (#6855)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Thu, 22 Aug 2019 12:38:49 +0000 (21:38 +0900)]
[mir_onnx] Inherit tensor names (#6855)

Set `Operation::Output`s names based on model tensor names.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[moco-tf] Enable RemoveTFIdentityNode Transform (#6834)
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 11:55:23 +0000 (20:55 +0900)]
[moco-tf] Enable RemoveTFIdentityNode Transform (#6834)

This commit will enable `RemoveTFIdentityNode` transform

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
4 years ago[exo-tflite] TFLFormattedGraph to print TFLNodes (#6836)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 22 Aug 2019 11:11:07 +0000 (20:11 +0900)]
[exo-tflite] TFLFormattedGraph to print TFLNodes (#6836)

TFLFormattedGraph was added to print the info of TFLNodes.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
4 years ago[mir] Add a name field to Operation::Output (#6844)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Thu, 22 Aug 2019 11:03:37 +0000 (20:03 +0900)]
[mir] Add a name field to Operation::Output (#6844)

Add a name field to `Operation::Output` along with getter and setter.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[custom op] Bind custom kernel registry to each backend context at creation time...
Vladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 [Thu, 22 Aug 2019 10:07:07 +0000 (13:07 +0300)]
[custom op] Bind custom kernel registry to each backend context at creation time (#6788)

Make backend context hold information about registered custom kernels
This will be later used by `CustomOperationManager`

Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
4 years ago[res] Remove renamed inception tests (#6838)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 10:05:32 +0000 (19:05 +0900)]
[res] Remove renamed inception tests (#6838)

TF_IV3_XXXX tests are fully replaced by NET_0017~0021. These renamed
tests are safely removed by this commit.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[res] Add UNIT_Tanh_000 testcase (#6839)
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 09:56:25 +0000 (18:56 +0900)]
[res] Add UNIT_Tanh_000 testcase (#6839)

This commit will add `UNIT_Tanh_000` testcase

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
4 years ago[moco-tf] Introduce TFDialect for Tanh (#6835)
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 09:54:13 +0000 (18:54 +0900)]
[moco-tf] Introduce TFDialect for Tanh (#6835)

* [moco-tf] Introduce TFDialect for Tanh

This commit will introduce TFDialect for `Tanh`

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
* Add missing code

4 years ago[res] Shrinked TF Inception_v3_002 test (#6817)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 09:50:49 +0000 (18:50 +0900)]
[res] Shrinked TF Inception_v3_002 test (#6817)

This commit make TF Inception_v3_002 test to have slim dimensions so
that suitable to be tested.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[mir] Remove old PadOp interface (#6808)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Thu, 22 Aug 2019 09:48:50 +0000 (18:48 +0900)]
[mir] Remove old PadOp interface (#6808)

Remove deprecated `PadOp` constructor and getters.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_tflite] Remove unused include (#6809)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Thu, 22 Aug 2019 09:47:58 +0000 (18:47 +0900)]
[mir_tflite] Remove unused include (#6809)

Remove unused include of `Scalar.h`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[res] Shrinked TF Inception_v3_001 test (#6815)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 08:05:42 +0000 (17:05 +0900)]
[res] Shrinked TF Inception_v3_001 test (#6815)

This commit makes TF Inception_v3_001 test to have slim dimensions so
that suitable to be tested.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[loco] Introduce Tanh Operation (#6830)
남궁석/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 08:05:04 +0000 (17:05 +0900)]
[loco] Introduce Tanh Operation (#6830)

This commit will introduce `Tanh` operation in loco

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
4 years ago[moco-tf] suporting custom op when inferencing shape and type (#6818)
윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 22 Aug 2019 07:21:26 +0000 (16:21 +0900)]
[moco-tf] suporting custom op when inferencing shape and type (#6818)

Added shape and type support for custom op.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
4 years ago[tf2tflite] Replace TF_IV3-XXX with new name NET_XXX (#6806)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 07:12:00 +0000 (16:12 +0900)]
[tf2tflite] Replace TF_IV3-XXX with new name NET_XXX (#6806)

This commit replaces TF_IV3-XXX with new name NET_XXX for tf2tflite.
Note that test contents are same.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[mir_onnx] Comment out extra token after #endif (#6820)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 07:04:34 +0000 (16:04 +0900)]
[mir_onnx] Comment out extra token after #endif (#6820)

This commit comments out extra token after #endif, which generates
compile warning on build procedure

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[nnpkg_run] use uint64_t for num_element (#6807)
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 22 Aug 2019 06:08:55 +0000 (02:08 -0400)]
[nnpkg_run] use uint64_t for num_element (#6807)

- use uint64_t for num_element.
- check each element is not negative.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
4 years agoHelper library for NNAPI v1.2 (#6823)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 22 Aug 2019 05:38:17 +0000 (14:38 +0900)]
Helper library for NNAPI v1.2 (#6823)

Introduce helper library for NNAPI v1.2 (almost copy from v1.1, and update)
Change default helper

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years ago[mocotest-tf] Replace TF_IV3-XXX with new name NET_XXX (#6805)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 05:26:16 +0000 (14:26 +0900)]
[mocotest-tf] Replace TF_IV3-XXX with new name NET_XXX (#6805)

This commit replaces TF_IV3-XXX with new name NET_XXX. Note that test
contents are same

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[neurun] Removed uses of BackendManager in BackendResolver and Scheduler (#6785)
Ivan Vagin/AI Tools Lab /SRR/Engineer/삼성전자 [Thu, 22 Aug 2019 05:21:53 +0000 (14:21 +0900)]
[neurun] Removed uses of BackendManager in BackendResolver and Scheduler (#6785)

Removed uses of BackendManager in BackendResolver and Scheduler

Signed-off-by: Ivan Vagin <ivan.vagin@samsung.com>
4 years agoFix copyright year ShapeInference (#6800)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 22 Aug 2019 04:52:19 +0000 (13:52 +0900)]
Fix copyright year ShapeInference (#6800)

Fix copyright year of ShapeInference.cc to 2019

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years ago[neurun] Update Usage msg for run_frameworktest.sh (#6811)
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 03:02:09 +0000 (12:02 +0900)]
[neurun] Update Usage msg for run_frameworktest.sh (#6811)

Update Usage message to be verbose for `run_frameworktest.sh`.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
4 years agoAdd missing copyright for nnpackage-run dumper (#6801)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 22 Aug 2019 01:50:21 +0000 (10:50 +0900)]
Add missing copyright for nnpackage-run dumper (#6801)

Add missing copyright phrase for nnpackage-run's tensor_dumper.h

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years agoFix build fail by signed integer compare with unsigned (#6804)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 22 Aug 2019 01:47:33 +0000 (10:47 +0900)]
Fix build fail by signed integer compare with unsigned (#6804)

Fix build fail by type change of num_elements() to unsigned

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years agoReplace how-to-contribute documentation (#6802)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 22 Aug 2019 01:39:41 +0000 (10:39 +0900)]
Replace how-to-contribute documentation (#6802)

Replace two how-to-contribute documentation and remove duplication

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years ago[res] Add renamed NET test from TF_IV3_XXXX (#6794)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 01:19:54 +0000 (10:19 +0900)]
[res] Add renamed NET test from TF_IV3_XXXX (#6794)

This commit add (will-be) renamed test cases of TF_IV3_XXXX.

NET_0017 <- TF_IV3_AvgPool_GlobalPooling
NET_0018 <- TF_IV3_AvgPool_Module
NET_0019 <- TF_IV3_Conv2D_000
NET_0020 <- TF_IV3_Epilogue
NET_0021 <- TF_IV3_MaxPool

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[res] Shrinked TF Inception_v3_000 test (#6792)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Thu, 22 Aug 2019 01:19:39 +0000 (10:19 +0900)]
[res] Shrinked TF Inception_v3_000 test (#6792)

This commit make TF Inception_v3_000 test to have slim dimensions so
that suitable to be tested.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years agoUse unsigned int for num_elements of Shape (#6507)
이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Thu, 22 Aug 2019 01:16:31 +0000 (10:16 +0900)]
Use unsigned int for num_elements of Shape (#6507)

- This fixes build break on tizen aarch64
- Assert for non-negative check

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
4 years ago[nnpkg_run] prepare hdf5 for arm (#6677)
이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 [Thu, 22 Aug 2019 00:53:38 +0000 (20:53 -0400)]
[nnpkg_run] prepare hdf5 for arm (#6677)

- Install hdf5f and dependent libraries on arm rootfs
- Update CMakeLists.txt
- Create HDF5Config.cmake
- Update nnpackage_run's dump with dummy hdf5 creating code.
  - To test whether hdf5 works.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
4 years ago[mocotest-tf] Enable valid NET tests (#6790)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 22:26:28 +0000 (07:26 +0900)]
[mocotest-tf] Enable valid NET tests (#6790)

This commit enables NET_0005 and NET_0006 tests for mocotest-tf

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[mir_onnx] Fix checking some attributes (#6796)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 19:13:06 +0000 (22:13 +0300)]
[mir_onnx] Fix checking some attributes (#6796)

* Added checking that dilations is equal 1 in Conv and MaxPool
* Removed spatial attribute from BatchNormalization

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Support Flatten operation (#6795)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 17:42:31 +0000 (20:42 +0300)]
[mir_onnx] Support Flatten operation (#6795)

* Supported V1 and V9 Flatten op versions
* Added Flatten on registration and cmake

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Add support for Transpose operator (#6764)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 13:51:22 +0000 (22:51 +0900)]
[mir_onnx] Add support for Transpose operator (#6764)

Add support for `Transpose` operator.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years agoAdd virtual dtor to ITimer class (#6786)
Vladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 13:03:34 +0000 (16:03 +0300)]
Add virtual dtor to ITimer class (#6786)

Fix failed build while using clang 9.0

Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
4 years ago[mir_onnx] Add missing include guards (#6762)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 12:59:21 +0000 (21:59 +0900)]
[mir_onnx] Add missing include guards (#6762)

Add include guards to operator converter headers.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_onnx] Support Identity operator (#6761)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 12:57:51 +0000 (21:57 +0900)]
[mir_onnx] Support Identity operator (#6761)

Add support for `Identity` operator.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_onnx] Use new PadOp constructor (#6753)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 12:57:25 +0000 (21:57 +0900)]
[mir_onnx] Use new PadOp constructor (#6753)

Switch to the new `PadOp` constructor.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[tf2tflite] Enable valid NET tests (#6791)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 11:43:36 +0000 (20:43 +0900)]
[tf2tflite] Enable valid NET tests (#6791)

This commit enables valid small network tests for tf2tflite:
NET_0004, NET_0005, NET_0006, NET_0011

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[neurun] Change CMake target name for neurun core (#6782)
이한종/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 10:31:40 +0000 (19:31 +0900)]
[neurun] Change CMake target name for neurun core (#6782)

Change target name to `neurun_core` from `neurun-core` for consistency
of target name.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
4 years agoFix a typo in benchmark runner include guard (#6787)
Vladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 10:15:58 +0000 (13:15 +0300)]
Fix a typo in benchmark runner include guard (#6787)

__BENCHMAKR_RUNNER_H__ used instead of __BENCHMARK_RUNNER_H__

Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
4 years agoRemove jsoncpp from line coverage (#6779)
이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 10:14:25 +0000 (19:14 +0900)]
Remove jsoncpp from line coverage (#6779)

- Remove jsoncpp from line coverage

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
4 years agoChange dimension of ACLTensor to start from higher dimension (#6765)
장지섭/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 10:12:27 +0000 (19:12 +0900)]
Change dimension of ACLTensor to start from higher dimension (#6765)

This commit changes dimension function of ACLTensor to start from higher dimension.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
4 years ago[res] Remove old TF unit tests (#6781)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 09:45:10 +0000 (18:45 +0900)]
[res] Remove old TF unit tests (#6781)

This commit removes old Tensorflow unit tests

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[moco-tf] Add RemoveTFIdentityNodeTransform (#6783)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 09:32:52 +0000 (18:32 +0900)]
[moco-tf] Add RemoveTFIdentityNodeTransform (#6783)

This will add RemoveTFIdentityNodeTransform to transforms list

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[nnc] Use new interface of PadOp (#6713)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 08:24:07 +0000 (17:24 +0900)]
[nnc] Use new interface of PadOp (#6713)

Switch to new interface of `PadOp`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_tflite] Use new PadOp constructor (#6752)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 08:22:51 +0000 (17:22 +0900)]
[mir_tflite] Use new PadOp constructor (#6752)

Switch to the new `PadOp` constructor.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_tflite] Insert TransposeOp to shuffle constants (#6734)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 08:21:38 +0000 (17:21 +0900)]
[mir_tflite] Insert TransposeOp to shuffle constants (#6734)

Insert `TransposeOp`s instead of direct permutation of constants to allow non-constant weights.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mocotest-tf] Enable UNIT_StopGradient_000 (#6777)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 07:38:49 +0000 (16:38 +0900)]
[mocotest-tf] Enable UNIT_StopGradient_000 (#6777)

This will enable UNIT_StopGradient_000 unit test

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[mocotest-tf] Enable UNIT_Rsqrt_000 (#6776)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 07:17:57 +0000 (16:17 +0900)]
[mocotest-tf] Enable UNIT_Rsqrt_000 (#6776)

This will enable UNIT_Rsqrt_000 unit test

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[tf2tflite] Enable UNIT_StopGradient_000 (#6778)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 07:17:38 +0000 (16:17 +0900)]
[tf2tflite] Enable UNIT_StopGradient_000 (#6778)

This will enable UNIT_StopGradient_000 unit test

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[tf2tflite] Enable UNIT_Rsqrt_000 (#6775)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 07:16:49 +0000 (16:16 +0900)]
[tf2tflite] Enable UNIT_Rsqrt_000 (#6775)

This will enable UNIT_Rsqrt_000 unit test

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years agoUpdate NNAPI spec to v1.2 (#6735)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 06:41:31 +0000 (15:41 +0900)]
Update NNAPI spec to v1.2 (#6735)

Update NNAPI spec header NeuralNetworks.h
Add new NNAPI spec header NeuralNetworksExtensions.h

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years ago[res] TF NET_0016 (#6770)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 05:54:16 +0000 (14:54 +0900)]
[res] TF NET_0016 (#6770)

* [res] NET_0016

This will introdude NET_0016 test material having Conv2D + FusedBatchNorm with Identity

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* remove attr use_cudnn_on_gpu

4 years ago[tfgraph-xform] Support constant folding (#6152)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 05:49:28 +0000 (14:49 +0900)]
[tfgraph-xform] Support constant folding (#6152)

Now, tfgraph-xform is able to fold constants in TensorFlow GraphDef.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
4 years ago[moco-tf] RemoveDeadNode for TF dialects (#6773)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 05:37:51 +0000 (14:37 +0900)]
[moco-tf] RemoveDeadNode for TF dialects (#6773)

This will add RemoveDeadNode optimization for TF dialect node transforms

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[tf2tflite] Edit unit tests into renamed one (#6769)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 05:37:39 +0000 (14:37 +0900)]
[tf2tflite] Edit unit tests into renamed one (#6769)

This commit edits unit tests into renamed one in tf2tflite

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[mocotest-tf] Edit unit tests into renamed one (#6768)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 05:37:28 +0000 (14:37 +0900)]
[mocotest-tf] Edit unit tests into renamed one (#6768)

This commit edits unit tests into renamed one in mocotest-tf project.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[moco-tf] Introduce RemoveTFIdentityNodeTransform (#6772)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 05:36:52 +0000 (14:36 +0900)]
[moco-tf] Introduce RemoveTFIdentityNodeTransform (#6772)

This will introduce RemoveTFIdentityNodeTransform that disconnects TFIdentity for optimization

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] RemoveTFIdentityNode Knob (#6771)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 05:35:44 +0000 (14:35 +0900)]
[moco-tf] RemoveTFIdentityNode Knob (#6771)

This will add RemoveTFIdentityNode Knob to switch RemoveTFIdentityNode optimization

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Remove unused files (#6756)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Wed, 21 Aug 2019 04:41:58 +0000 (13:41 +0900)]
[moco-tf] Remove unused files (#6756)

This will remove unused ShapeInference and TypeInference files that are replaced by transforms

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[loco] Remove "node" method from Graph Input/Output (#6759)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 04:34:57 +0000 (13:34 +0900)]
[loco] Remove "node" method from Graph Input/Output (#6759)

This commit removes "node" method from GraphInput/GraphOutput class.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
4 years ago[exo-tflite] Clean up deprecated code (#6757)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 04:03:15 +0000 (13:03 +0900)]
[exo-tflite] Clean up deprecated code (#6757)

This commit cleans up deprecated internal shape inference implementations
in exo-tflite.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
4 years agoFix overloaded functions being hidden by subclasses (#6697)
Vladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 [Wed, 21 Aug 2019 03:44:36 +0000 (06:44 +0300)]
Fix overloaded functions being hidden by subclasses (#6697)

void IOperationVisitor::visit(const Subgraph &subgraph) was hidden by function definitions in IKernelGenerator and KernelGenerator classes
This makes nnfw fail to build using clang 9.0

Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
4 years ago[res] Add renamed unit tests (#6749)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 03:43:54 +0000 (12:43 +0900)]
[res] Add renamed unit tests (#6749)

This commit adds renamed unit tests, for example, UNIT_Add_000 for
Add_000

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[tf2tflite] Add divide comment for refactoring (#6742)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Wed, 21 Aug 2019 03:43:07 +0000 (12:43 +0900)]
[tf2tflite] Add divide comment for refactoring (#6742)

This comment will be removed after test case convention refactoring
project.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years agoInclude xml converter in coverage suite (#6758)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 01:18:12 +0000 (10:18 +0900)]
Include xml converter in coverage suite (#6758)

To convert lcov report to xml, include xml converter tool into coverage suite

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years agoUpdate EigenSource-fd6845384b86 to read URL from file (#6746)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Wed, 21 Aug 2019 00:33:24 +0000 (09:33 +0900)]
Update EigenSource-fd6845384b86 to read URL from file (#6746)

This commit revises EigenSource-fd6845384b86 CMake package to read URL
from file instead of environment variable.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
4 years ago[mocotest-tf] Enable NET_0015 (#6745)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 23:42:51 +0000 (08:42 +0900)]
[mocotest-tf] Enable NET_0015 (#6745)

This will enable NET_0015, 1/Sqrt(x), which is same as decomposed elements of Rsqrt

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[mocotest-tf] Epilogue test (#6750)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 20 Aug 2019 22:18:21 +0000 (07:18 +0900)]
[mocotest-tf] Epilogue test (#6750)

This commit adds Epilogue test for mocotest-tf

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[tf2tflite] Epilogue test (#6751)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 20 Aug 2019 22:18:04 +0000 (07:18 +0900)]
[tf2tflite] Epilogue test (#6751)

This commit adds Epilogue test of Inception v3 for tf2tflie

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[moco-tf] Enable RsqrtCanonicalizer (#6740)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 22:09:20 +0000 (07:09 +0900)]
[moco-tf] Enable RsqrtCanonicalizer (#6740)

This will enable RsqrtCanonicalizer to convert TFRsqrt to canonical nodes

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Reserve TFShapeInference for TFStopGradient (#6739)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 22:09:00 +0000 (07:09 +0900)]
[moco-tf] Reserve TFShapeInference for TFStopGradient (#6739)

This will reserve place for TFStopGradient in TFShapeInference

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Enable Canonicalizer for TFStopGradient (#6737)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 22:08:38 +0000 (07:08 +0900)]
[moco-tf] Enable Canonicalizer for TFStopGradient (#6737)

This will add enable TFStopGradient in Canonicalizer

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Type inference for TFStopGradient (#6736)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 22:08:17 +0000 (07:08 +0900)]
[moco-tf] Type inference for TFStopGradient (#6736)

This will add TFStopGradient in type inference rule

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[tf2tflite] Enable NET_0015 (#6744)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 22:07:53 +0000 (07:07 +0900)]
[tf2tflite] Enable NET_0015 (#6744)

This will enable NET_0015, 1/Sqrt(x), which is same as decomposed elements of Rsqrt

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Remove unused header in FuseBinaryIntoPreceding (#6741)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 22:07:00 +0000 (07:07 +0900)]
[moco-tf] Remove unused header in FuseBinaryIntoPreceding (#6741)

This will remove unused header in FuseBinaryIntoPreceding

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[mir2loco] Remove GraphIO::node method calls (#6721)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 20 Aug 2019 19:24:04 +0000 (04:24 +0900)]
[mir2loco] Remove GraphIO::node method calls (#6721)

This commit removes all the GraphInput::node and GraphOutput::node
method calls in mir2loco. This is a step toward loco GraphInput/Output
class redesign.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
4 years ago[mir_onnx] Rework attribute parsing (#6651)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 19:02:53 +0000 (04:02 +0900)]
[mir_onnx] Rework attribute parsing (#6651)

* Make attribute parsing functions templated and extract them to a separate file.
* Move definition of `getKernelStridesPadding` into cpp file.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_onnx] Update ONNX source to version 1.5.0 (#6748)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 17:44:06 +0000 (02:44 +0900)]
[mir_onnx] Update ONNX source to version 1.5.0 (#6748)

Update ONNX source version to support ONNX IR version 5.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[mir_onnx] Upsample operation versioning (#6755)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 17:43:02 +0000 (20:43 +0300)]
[mir_onnx] Upsample operation versioning (#6755)

* Supported V1, V7, V9 and V10(deprecated) versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Reshape operation versioning (#6754)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 17:27:40 +0000 (20:27 +0300)]
[mir_onnx] Reshape operation versioning (#6754)

* Supported V1, V5 reshape versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Pad operation versioning (#6698)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 15:24:12 +0000 (18:24 +0300)]
[mir_onnx] Pad operation versioning (#6698)

* Supported V1, V2 pad versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] MaxPool operation versioning (#6696)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 15:14:07 +0000 (18:14 +0300)]
[mir_onnx] MaxPool operation versioning (#6696)

* Supported V1, V8, V10 maxpool versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Conv operation versioning (#6695)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 15:04:43 +0000 (18:04 +0300)]
[mir_onnx] Conv operation versioning (#6695)

* Supported single V1 version

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Support versioning in Add operation (#6653)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 14:30:24 +0000 (17:30 +0300)]
[mir_onnx] Support versioning in Add operation (#6653)

* Implemented converter versioning for Add operation, known versions: 1, 6, 7

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Constant operation versioning (#6694)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 14:28:27 +0000 (17:28 +0300)]
[mir_onnx] Constant operation versioning (#6694)

* Supported V1, V9, v11(partially) versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Concat operation versioning (#6693)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 14:01:22 +0000 (17:01 +0300)]
[mir_onnx] Concat operation versioning (#6693)

* Supported V1, V4 concatenation versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] Average Pooling operation versioning (#6691)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 12:55:07 +0000 (15:55 +0300)]
[mir_onnx] Average Pooling operation versioning (#6691)

* Supported V1, V7, V10 average pooling versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[mir_onnx] BatchNormalization operation versioning (#6692)
Павел Ильютченко/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 12:54:06 +0000 (15:54 +0300)]
[mir_onnx] BatchNormalization operation versioning (#6692)

* Supported V1, V6, V7, V9 batch normalization versions

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
4 years ago[nnc] Add transpose folding optimization (#6724)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 10:48:24 +0000 (19:48 +0900)]
[nnc] Add transpose folding optimization (#6724)

Constant fold sequence of operations Constant -> Transpose.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years agoAdd getter for opcode name (#6658)
Alexander Efimov/AI Tools Lab/./Samsung Electronics [Tue, 20 Aug 2019 10:41:14 +0000 (13:41 +0300)]
Add getter for opcode name (#6658)

Added getter of opcode name in string format

Signed-off-by: Efimov Alexander <a.efimov@samsung.com>
4 years ago[mir] New interface for PadOp (#6708)
Сергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 [Tue, 20 Aug 2019 10:40:18 +0000 (19:40 +0900)]
[mir] New interface for PadOp (#6708)

* Remove redundant `num_dims` parameter of constructor.
* Make padding arguments consistent with other operations (two vectors instead of vector of pairs).
* Change the type of the value to be used for padding from `Scalar` to `float` (it is `float` in all supported input frameworks).

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
4 years ago[exo-tflite] Export DepthwiseConv2D operation (#6720)
채성우/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 20 Aug 2019 10:29:21 +0000 (19:29 +0900)]
[exo-tflite] Export DepthwiseConv2D operation (#6720)

This commit introduce DepthwiseConv2D operation to exporter.

Signed-off-by: seongwoo <sw4670.chae@samsung.com>
4 years agoCheck format changed files (#6683)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 20 Aug 2019 10:17:11 +0000 (19:17 +0900)]
Check format changed files (#6683)

Check and fix format with warning message when there is changed files

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years agoFix coverage test suite (#6725)
오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 20 Aug 2019 09:58:41 +0000 (18:58 +0900)]
Fix coverage test suite (#6725)

Add lost coverage test suite packaging files: nnas, nnfw script

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
4 years agoIntroduce ThirdPartyTools module (#6730)
박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 [Tue, 20 Aug 2019 09:56:54 +0000 (18:56 +0900)]
Introduce ThirdPartyTools module (#6730)

* Introduce ThirdPartyTools module

This commit introduces ThiryPartyTools module. The current version
includes ThirdParty_URL function which manages URLs via file.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
4 years ago[moco-tf] Shape inference on canonical optimize stage (#6722)
박천교/On-Device Lab(SR)/Engineer/삼성전자 [Tue, 20 Aug 2019 09:45:10 +0000 (18:45 +0900)]
[moco-tf] Shape inference on canonical optimize stage (#6722)

This commit adds shape inference at canonical optimize stage of moco.
This is required for ResolveRedundantReshape transform.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
4 years ago[moco-tf] TFNodeSummary for TFStopGradient (#6738)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 09:35:24 +0000 (18:35 +0900)]
[moco-tf] TFNodeSummary for TFStopGradient (#6738)

This will add TFStopGradient to TFNodeSummaryBuilder

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Update shape inference in Canonicalizers (#6732)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 09:12:28 +0000 (18:12 +0900)]
[moco-tf] Update shape inference in Canonicalizers (#6732)

This will update shape inference to use loco service in Canonicalizers of Add,Mul,Realdiv and Sub nodes

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
4 years ago[moco-tf] Canonicalizer for TFStopGradient (#6731)
박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 [Tue, 20 Aug 2019 09:12:05 +0000 (18:12 +0900)]
[moco-tf] Canonicalizer for TFStopGradient (#6731)

This will introduce Canonicalizer for TFStopGradient that converts to Canonical Forward node

Signed-off-by: SaeHie Park <saehie.park@samsung.com>