이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 10:30:48 +0000 (19:30 +0900)]
[neurun] Introduce Enum `Input` for the rest ops (#2947)
Introduce Enum `Input` for Reshape and Softmax to avoid using magic
numbers from input list.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Add Apache License to HashTableLookup op (#2933)
This patch adds Apache License to HashTableLookup op.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Introduce ABS_EX op in NeuralNetworksEx.h (#2949)
This commit introduces ABS_EX op in NeuralNetworksEx.h
Related issue: #2828
Signed-off-by: Siva Sai <siva.sai@samsung.com>
Introduce EQUAL_EX operation on runtime (#2872)
This patch introduces EQUAL_EX operation on runtime.
The related ACL implementation is done in subsequent patches.
Signed-off-by: prasannar <prasanna.r@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 05:54:09 +0000 (14:54 +0900)]
[neurun] Remove unnecessary code in Linear.h (#2901)
Remove unnecessary code in `linear/Linear.h`.
- Incorrect `virtual` keyword
- Meaningless `private` keyword
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 05:53:49 +0000 (14:53 +0900)]
[neurun] Remove outdated comment (#2900)
Remove outdated TODO comment that has been fixed already.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 05:53:20 +0000 (14:53 +0900)]
[neurun] Introduce Enum `Input` for Conv2D (#2899)
Introduce Enum `Input` for Conv2D to avoid using magic numbers from
input list.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 05:53:02 +0000 (14:53 +0900)]
[neurun] Remove redundant code (#2898)
Remove redundant code. This was supposed to be removed from #2870,
however it was not removed by mistake.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 05:52:39 +0000 (14:52 +0900)]
[neurun] Introduce Enum `Input` for AvgPool2D (#2897)
Introduce Enum `Input` for AvgPool to avoid using magic numbers for
input list.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 4 Oct 2018 05:52:20 +0000 (14:52 +0900)]
[neurun] Introduce EdgeConsistencyChecker (#2893)
Introduce EdgeConsistencyChecker which verifies the consistency between
operation-side edges and operand-side edges.
This commit also makes DAGChecker to be an assert condition.
Resolve #2706
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Reverting the execution permission (#2905)
This commit reverse the change of mode for the following files.
Signed-off-by: shubham <shub98.gupta@samsung.com>
Removing the execution permission for NeuralNetowrksEx.h (#2909)
Removing the execution permission for NeuralNetowrksEx.h
Signed-off-by: Siva Sai <siva.sai@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 3 Oct 2018 23:52:28 +0000 (08:52 +0900)]
Add generated test for TENSORFLOW_SUM_EX (#2883)
* Add generated test for TENSORFLOW_SUM_EX
This commit adds generated test for TENSORFLOW_SUM_EX
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Add tensorflowsum_ex_* generated tests to skip list (neurun, tizen and x86_64)
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Assert moved:exec to compile time for SpaceToDepth (#2878)
If shape constraint has done well at compilation time, then there is no
need of assert at execution time.
Signed-off-by: shubham <shub98.gupta@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 08:00:39 +0000 (17:00 +0900)]
[neurun] Remove unused TensorConvert kernels (#2876)
Remove unused TensorCovert kernels since now we have PermuteLayer
instead.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Assert moved:exec to compile time for DepthToSpace (#2877)
If shape constraint has done well at compilation, then there is no
need of assert at execution time.
Signed-off-by: shubham <shub98.gupta@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Tue, 2 Oct 2018 06:53:20 +0000 (15:53 +0900)]
Fix custom op's output resize (#2873)
Fix custom op TensorFlowMax & TensorFlowSum implementation
Output resize policy: check dimension info
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 06:47:08 +0000 (15:47 +0900)]
[neurun] Move namespace of arm_compute::feature (#2886)
Move namespace `internal::arm_compute::feature` to
`neurun::util::feature::nhwc`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 06:23:14 +0000 (15:23 +0900)]
[neurun] Introduce .dot dumper (#2787)
* [neurun] Introduce .dot dumper
Part of : #2773
This commit introduces `.dot` dumper, which includes below.
- DotNodeInfo : operation info for dot graph
- DotOperandInfo : operand info for dot graph
- DotDumper : make dot graph and stream dump
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* introduce dot_shape()
* change asInt to value()
* Change the directory of dot dumper
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 05:24:53 +0000 (14:24 +0900)]
[neurun] Bring the part that uses source/sink in execution. (#2788)
This commit bring the part that uses source/sink in execution.
- Bring the part from pureacl.
- Change sourse/sink for 2D/3D to not use `execute_window_loop` in order to avoid unused-param error.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Tue, 2 Oct 2018 05:12:14 +0000 (14:12 +0900)]
[neurun] Fix build bug (#2885)
Fix build bug by conflict: shape construction
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 04:46:47 +0000 (13:46 +0900)]
Add generated tests for EXP_EX (#2858)
* Add generated tests for EXP_EX
- Add exp_ex_1D_float for testing 1d tensor
- Add exp_ex_2D_float for testing 2d tensor
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Update generated test skip list for armv7l-tizen, x86_64-linux and armv7l-linux.neurun
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 04:28:17 +0000 (13:28 +0900)]
[neurun] Introduce PermutationInsertionPass (#2861)
Introduce PermutationInsertionPass that enables to run the model with
heterogeneous backends. This commit also applies this pass in
`Graph::lower`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 01:51:41 +0000 (10:51 +0900)]
[neurun] Rename IVerifier.h to Verifier.h (#2871)
Rename the filename `IVerifier.h` to `Verifier.h` since it contains not
only `IVerifier` interface but also its derivatives.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 01:26:43 +0000 (10:26 +0900)]
[neurun] Move namespace of nnapi::feature classes (#2875)
Move namespace `internal::nnapi::feature` to
`neurun::util::feature::nhwc`. This will introduce the namespace
`neurun::util`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 01:22:28 +0000 (10:22 +0900)]
[neurun] Unify converting functions. (#2806)
This commit unifies converting(to ACL) functions.
- Bring Swizzle.h from pure_arm_compute.
- Bring converting functions from pure_arm_compute.
- Modify applying the function.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 01:18:59 +0000 (10:18 +0900)]
Support ReduceSum operation on CPU (#2862)
* Support ReduceSum operation on CPU
This commit supports ReduceSum operation on ACL.
But this patch uses a CPU rather than GPU.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Add assertion in TensorFlowSum compilation stage
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 01:18:41 +0000 (10:18 +0900)]
Add ArithmeticSubtraction codes for support broadcast of SUB (#2864)
* Add ArithmeticSubtraction codes for support broadcast of SUB
This patch contains RS7-RuntimeNTools/ComputeLibrary:#11 PR.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Update license contents for CLArithmeticSubtractionEx
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Remove unnecessary artimetic_add function in acl kernel
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 2 Oct 2018 01:06:10 +0000 (10:06 +0900)]
Support ReduceMax operation up to 4 dimetions (#2850)
This commit supports ReduceMax operation up to 4 dimentions.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
Implementation of Neg operator in PACL (#2834)
This patch implements Neg operator in PACL.
NEG operator is used in mtcnn model.
Related issue : #2167
Signed-off-by: prasannar <prasanna.r@samsung.com>
Introduce EQUAL_EX in NeuralNetworksEx.h (#2846)
This patch introduces EQUAL_EX in NeuralNetworksEx.h.
Related issue : #2610
Signed-off-by: prasannar <prasanna.r@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 23:54:08 +0000 (08:54 +0900)]
[neurun] Refine StageGenerator implementation (#2870)
Change index type of each Param for each Node to use
`graph::operand::Index` rather than raw integer. This is for both
acl_cl and cpu backend.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 10:06:46 +0000 (19:06 +0900)]
[neurun] Implement Planner with Permute (#2860)
Implement `Planner::visit` method for Permute operation.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Support HashtableLookup op in PACL runtime (#2708)
This commit adds support for HashtableLookup op on cpu.
Related issue: #2654
For: #2589
Signed-off-by: Siva Sai <siva.sai@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 1 Oct 2018 06:20:44 +0000 (15:20 +0900)]
Update ACL cross build guide (#2804)
Related Issue: #2795, #2783
ACL build requires `CROSS_BUILD=1`.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
Removing unneccessary TODO for Squeeze (#2855)
Since all Squeeze gtest are passing, this TODO is not required.
Signed-off-by: shubham <shub98.gupta@samsung.com>
Implement SquaredDifference in PACL (#2815)
This patch implements Squared Difference using Sub and Square kernel.
This patch is added as a replacement to previous patch #2570, which realizes Squared Difference using Sub and Mul.
Signed-off-by: prasannar <prasanna.r@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 04:53:37 +0000 (13:53 +0900)]
Add generated tests for TENSORFLOW_MAX_EX (#2851)
This commit adds generated tests for TENSORFLOW_MAX_EX.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 04:25:46 +0000 (13:25 +0900)]
[neurun] Revise insertOperation to insertPermute (#2826)
This commit removes the method `Graph::insertOperation` and adds
`Graph::insertPermute`. Since with `insertOperation` method is a general
method for inserting any node but it can be done with limited situation.
Instead, with `insertPermute` method, it can only Permute node but for
any operand. However since it requires Graph to have dependency on
Backend and Permute node, so it should be extracted to another module
later.
Here are the differences
- insertPermute inserts `Permute` node only while insertOperation can
insert any type of the node given by parameter,
- insertPermute only adds a node that uses given operand as input
while insertOperation connects the newly created node's output and the
original input operation
- insertPermute can be called at LOWERED phase only
This commit also removes the tests for `insertOperation` since
`insertPermute` can be only called at LOWERED phase.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Mon, 1 Oct 2018 02:49:44 +0000 (11:49 +0900)]
Add copyright and license for benchmark directory (#2847)
- Add Apache 2.0 in our source (Benchmark.*)
- Add our copyright in our modification to ACL (benchmark*.cpp)
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 02:38:14 +0000 (11:38 +0900)]
[neurun] Remove misleading comment (#2829)
Remove misleading comment in BackendManager - which has been already
fixed, but the comment is not updated.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 01:49:10 +0000 (10:49 +0900)]
Support Exp kernel on ACL (#2835)
* Support Exp kernel on ACL
This commit implements an exp kernel moduel and related codes on ACL.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Update License contents
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 01:28:23 +0000 (10:28 +0900)]
[neurun] Make cpu backend impl less verbose (#2848)
Now that we have inputs/outputs/params as `operand::Index` type so we do
not have to write the full type info for backend implementation.
So this commit revises those to use `auto` for cpu backend.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 1 Oct 2018 01:28:12 +0000 (10:28 +0900)]
[neurun] Make acl_cl backend impl less verbose (#2849)
Now that we have inputs/outputs/params as operand::Index type so we do
not have to write the full type info for backend implementation.
So this commit revises those to use auto for acl_cl backend.
Likewise for cpu backend : #2848
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Reverting the execution permission (#2853)
After the recent changes, the modes have been changed for the following files.
This commit revokes them.
Signed-off-by: Siva Sai <siva.sai@samsung.com>
Revering the mode change (#2852)
This commit reverse the change of mode in NeuralNetworksEx.h
Signed-off-by: Siva Sai <siva.sai@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 28 Sep 2018 06:01:48 +0000 (15:01 +0900)]
[neurun] Update type of Node Params (#2843)
Params for each node has used raw integer, this commit updates it to
have use `operand::Index`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 28 Sep 2018 06:00:15 +0000 (15:00 +0900)]
Update LICENSE and tizen spec (#2842)
- Eigen is not used any more so BSD and MPL license are removed.
- Some sources under MIT are introduced.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Fri, 28 Sep 2018 05:59:56 +0000 (14:59 +0900)]
Change license MIT to Apache 2.0 for our ARMComputeEx sources (*.cl) (#2840)
*.cl's licenses are changed that was missing in #2704.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 28 Sep 2018 04:07:46 +0000 (13:07 +0900)]
[neurun] Introduce default constructor for Index (#2831)
Introduce default constructor for `Graph::Index` so wrapping objects can
have a default constructor.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 28 Sep 2018 02:45:10 +0000 (11:45 +0900)]
Introduce TENSORFLOW_SUM_EX operation in PACL (#2836)
Add nnapi delegation of TENSORFLOW_SUM_EX operation.
Add param and node for TENSORFLOW_SUM_EX operation.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Fri, 28 Sep 2018 02:17:04 +0000 (11:17 +0900)]
[Tools] Revise operator option generation in select operator (#2769)
Revise operator option generation in select operator
- Reorder by option type's enum value
- Move import
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 28 Sep 2018 01:43:14 +0000 (10:43 +0900)]
[neurun] Remove duplicated include (#2833)
This commit removes the line for duplicated include.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Implementation of DepthToSpace op in PACL for CPU (#2808)
This patch will add DepthToSpace op
Signed-off-by: shubham <shub98.gupta@samsung.com>
Introduce TRANSPOSE_CONV_EX in NeuralNetworksEx.h (#2825)
This patch introduces TRANSPOSE_CONV_EX in NeuralNetworksEx.h
Related Issue: #2809
Signed-off-by: b.devansh <b.devansh@samsung.com>
Introduce SpaceToBatchND in PACL (#2810)
This patch introduces SpaceToBatchND op in PACL
Signed-off-by: shubham <shub98.gupta@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 27 Sep 2018 23:37:32 +0000 (08:37 +0900)]
Introduce EXP_EX operation in PACL (#2817)
Add nnapi delegation of EXP_EX operation.
Add param and node for EXP_EX operation.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 27 Sep 2018 09:40:23 +0000 (18:40 +0900)]
Introduce TENSORFLOW_SUM_EX operation on NeuralNetworks.h (#2818)
Add TENSORFLOW_SUM_EX operation in NeuralNetworks.h.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 27 Sep 2018 09:39:45 +0000 (18:39 +0900)]
Introduce NEG_EX operation in PACL (#2816)
Add nnapi delegation of NEG_EX operation.
Add param and node for NEG_EX operation.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 27 Sep 2018 06:12:10 +0000 (15:12 +0900)]
[Tools] Fix parser error (#2790)
Fix parser error when parsing operator option table
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Introduce EXP operation on NeuralNetworks.h (#2814)
This patch introduces ANEURALNETWORKS_EXP_EX in NeuralNetworks.h
EXP operator is used in mtcnn model.
Related issue : #2167
Signed-off-by: prasannar <prasanna.r@samsung.com>
Introduce NEG operation on NeuralNetworks.h (#2813)
This patch introduces ```ANEURALNETWORKS_NEG_EX``` in NeuralNetworks.h
NEG operator is used in mtcnn model.
Related issue : #2167
Signed-off-by: prasannar <prasanna.r@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 27 Sep 2018 02:03:18 +0000 (11:03 +0900)]
Add TensorFlowSum custom operator in tflite interpreter (#2797)
This commit registers TensorFlowSum operator in tflite interpreter.
It contains the actual behavior of TensorFlowSum.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Introduce DEPTH_TO_SPACE operation into PACL (#2781)
This patch will introduce Depth_To_Space into pure_arm_compute (#2765)
Signed-off-by: shubham <shub98.gupta@samsung.com>
Enabling PAD on NEON-PACL (#2728)
This patch will add neon support for PAD op
Signed-off-by: shubham <shub98.gupta@samsung.com>
Removing unncessary CAST_NE from GenericReshapeLayer (#2774)
This patch removes unncessary CAST_NE from GenericReshapeLayer, as the configure functions of NEON Kernels expects parameters of type ITensor and the parameters are all of type ITensor.
Signed-off-by: b.devansh <b.devansh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 20 Sep 2018 05:49:20 +0000 (14:49 +0900)]
Remove ARM Compute submodule (#2783)
* Remove ARM Compute submodule
Remove ARM Compute submodule and use source download
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Check ARMComputeSource_FOUND
Return ARMCompute_FOUND false if cannot find ARMComputeSource
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 20 Sep 2018 05:47:00 +0000 (14:47 +0900)]
Revise run & docker-run command (#2786)
Revise run & docker-run command
Same implementation with nncc
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 20 Sep 2018 04:37:07 +0000 (13:37 +0900)]
[neurun] Add usage getter in Object class (#2784)
Part of : #2773
This commit adds usage getter in Object class.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 20 Sep 2018 04:36:21 +0000 (13:36 +0900)]
Delete stamp files when clean (#2785)
Delete stamp files when clean using Makefile
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 20 Sep 2018 04:02:51 +0000 (13:02 +0900)]
Add copyright in model file tool & detection (#2779)
- Add copyright in tools/tflitefile_tool
- Add coptright in contrib/detection
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 20 Sep 2018 00:45:15 +0000 (09:45 +0900)]
[neurun] Implement Permute for StageGenerator (#2775)
Implement `IStageGenerator::generate` method for Permute operation.
Currently we handle this inserted operation as same with other
operations(Added from NN API).
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 10:38:25 +0000 (19:38 +0900)]
[neurun] Introduce more operation methods (#2777)
Introduce methods for replacing operands for `operation::Node`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 10:37:44 +0000 (19:37 +0900)]
[neurun] Add getName interface in Node (#2776)
Related : #2685
This commit adds `getName` interface in Node for getting the name of Node info.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
Removing unncessary CAST_NE from SquaredDifference Op (#2723)
This patch removes unncessary CAST_NE from SquaredDifference Op, Since the configure functions of NEON Kernels expects parameters of type ITensor and the parameters input, output are all of type ITensor.
Signed-off-by: prasannar <prasanna.r@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 06:57:55 +0000 (15:57 +0900)]
[neurun] Update operand::LowerInfo (#2771)
Have use/def info as BackendSet instead of LayoutSet. This is because
each backend has its own tensors, even if many backends are of the
layout.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 06:57:43 +0000 (15:57 +0900)]
[neurun] Use MockNode.h in verifier TC (#2772)
This commit makes the verifier TC uses `MockNode.h`.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
Removing unncessary CAST_NE from PureACL (#2718)
This patch removes unncessary CAST_NE from PureACL, Since the configure functions of NEON Kernels expects parameters of type ITensor and the parameters input, output are all of type ITensor.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Removing GeneratedTests.l2_norm* from the skiplist (#2725)
With #2642 the l2_pool_float* cases passed. Removing from skip list.
Signed-off-by: Praveen D N <praveen.dn@samsung.com>
Enabling appendTanh on NEON runtime -PACL (#2762)
This patch will add NEON runtime support for appendTanh
Signed-off-by: prasannar <prasanna.r@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 05:14:13 +0000 (14:14 +0900)]
[neurun] Hold Backend objects as pointer (#2768)
* [neurun] Hold Backend objects as pointer
Make `BackendManager` to return backend's pointer so it does not make
many duplicated objects of `Backend`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* [neurun] BackendResolver as Graph member
Now that we have Backend as pointer, there is an issue on the scope of
BackendResolver.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Removing unncessary CAST_NE from GenericFullyConnectedLayer (#2721)
This patch removes unncessary CAST_NE from GenericFullyConnectedLayer, Since the configure functions of NEON Kernels expects parameters of type ITensor and the parameters are all of type ITensor.
Signed-off-by: prasannar <prasanna.r@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 04:53:36 +0000 (13:53 +0900)]
[neurun] Apply other types for source/sink. (#2740)
This commit applies other types for source/sink.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Wed, 19 Sep 2018 04:08:49 +0000 (13:08 +0900)]
[Tools] Check tflite file correctness (#2767)
- Check tflite file correctness to parse operator option table (option table type defined but undefined value)
- Print and exit if operator selector cannot support
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 02:21:32 +0000 (11:21 +0900)]
[neurun] Introduce ITensorBuilder::tensorAt (#2759)
Introduce an interface that returns ITensor objecet for given Index.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 02:21:23 +0000 (11:21 +0900)]
[neurun] non-const LowerInfo accessor for operand (#2757)
Introduce non-const LowerInfo accesor for `operand::Object`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
윤현식/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 19 Sep 2018 02:20:58 +0000 (11:20 +0900)]
[Tool] fix bug (ARM native build version crashes) (#2763)
This is a bug fix of issue #2727.
The reason is not clear but calling the following throws std::system_error from openCL (-1 : meaning 'unknown')
- cl::Device::getDefault()
- cl::Context::getDefault()
- cl::Platform::getDefault()
Removed the above from main prining section and move them into additional printing section with `try` and `catch` surrounded.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 [Wed, 19 Sep 2018 02:18:45 +0000 (11:18 +0900)]
Remove copyright and license from externals/CMakeLists.txt (#2697)
Related Issue: #2662
We don't put license and copyright on CMakeLists.txt.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 19 Sep 2018 02:10:44 +0000 (11:10 +0900)]
[neurun] Introduce OperandPass (#2758)
`OperandPass` is a subclass of `Pass` that iterates for each
`operand::Object`. And subclasses of `OperandPass` must have
implementation of `callback` method.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Implementation for LRN Layer (#2643)
This patch implements Local Response Normalization Layer in NNFW-PACL
Signed-off-by: shubham <shub98.gupta@samsung.com>
Enabling Logistics Op on PureACL NEON runtime (#2715)
This patch enables Logistics Op to run on NEON runtime PureACL.
Signed-off-by: b.devansh <b.devansh@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:58:37 +0000 (19:58 +0900)]
[neurun] Apply memcpy for source/sink (#2754)
This commit applies memcpy for source/sink.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:58:23 +0000 (19:58 +0900)]
[neurun] Introduce method `IBackendConfig::id` (#2753)
Introduce method `IBackendConfig::id()` so the backend itself holds its
string ID.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:58:06 +0000 (19:58 +0900)]
[neurun] Bring source/sink codes for 2D and 3D (#2752)
This commit bring source/sink codes for 2D and 3D from pureacl.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:57:47 +0000 (19:57 +0900)]
[neurun] Introduce method IndexSet::replace (#2751)
Introduce operand::IndexSet::replace method which can update an element
in the set.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:57:14 +0000 (19:57 +0900)]
[neurun] Introduce `operand::BackendSet` (#2750)
BackendSet is a class that is a set of Backends. It will be used from
`operand::LowerInfo` to express which backends need to allocate for a
operand.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:57:04 +0000 (19:57 +0900)]
[neurun] Implement PermuteLayer kernel for cpu (#2749)
PermuteLayer basically copies data from input tensor to output tensor,
but if the tensor must be permuted it also do permute the tensor.
Currently NHWC to NCHW and NCHW to NHWC permutation is supported.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 18 Sep 2018 10:56:47 +0000 (19:56 +0900)]
[neurun] Introduce graph::Pass (#2747)
This commit introduces `graph::Pass` that can manipulate the graph
model.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Sep 2018 10:58:38 +0000 (19:58 +0900)]
Install core libs into /usr/lib in tizen (#2722)
- For M2, libneuralnetworks.so should be installed on /usr/lib
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
우상정/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Sep 2018 06:46:39 +0000 (15:46 +0900)]
Disable x86_64, i586 build on obs (#2716)
There is build break on obs SR. With this commit, no build is trigged
for x86_64 and i586 arch.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
Signed-off-by: Sangjung woo <sangjung.woo@samsung.com>