Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 18 Dec 2018 01:42:11 +0000 (07:12 +0530)]
Add default block in CLReduceOperation kernel (#4078)
This patch adds default block in CLReduceOperation kernel
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 18 Dec 2018 01:40:48 +0000 (07:10 +0530)]
Add default block to CLComparisonOp CL Kernel (#4077)
This patch adds default block to CLComparisonOp CL Kernel
Signed-off-by: prasannar <prasanna.r@samsung.com>
이한종/On-Device Lab./Engineer/삼성전자 [Tue, 18 Dec 2018 01:40:20 +0000 (10:40 +0900)]
[neurun] Move operand files from graph to model (#4071)
Move pure model related classes from `graph/operand` to `model/operand`.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 18 Dec 2018 01:14:48 +0000 (06:44 +0530)]
Remove Passing logicaOr gtest from skiplist (#3960)
Remove Passing logicaOr gtest from skiplist
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 18 Dec 2018 01:08:00 +0000 (06:38 +0530)]
Add gtests to test Pad op for 2D/3D tensors (#3946)
This patch will add Pad gtest to test for 2D/3D tensors
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 18 Dec 2018 01:07:28 +0000 (06:37 +0530)]
Add gtests for ArgMax op to test int32 dataype (#4034)
Since the kernel states it support int32 datatype
So, these test cases will verfiy the same.
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 18 Dec 2018 01:06:55 +0000 (06:36 +0530)]
Add gtests for transposeConv op to test Int32 dataype (#4037)
This patch will add gtest to test TransposeConv op
for int datatype
Signed-off-by: shubham <shub98.gupta@samsung.com>
박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Dec 2018 10:33:34 +0000 (19:33 +0900)]
Configure ARMCompute correctly (#4066)
This commit updates Makefile and ARMComputeConfig.cmake to correctly
configure ARMCompute library targets even for CI build.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 10:18:48 +0000 (15:48 +0530)]
Correction in datatypes supported in NeuralNetworksEx (#4017)
This patch will add INT32 supported comment in
1. arg_max
2. pack and unpack
3. abs
And remove INT32 supported comment from SquaredDifference
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 09:48:49 +0000 (15:18 +0530)]
Optimising ArgMinMax kernel: remove extra global memeroy access (#4020)
This patch will optimise ArgMinMax kernel by remove the extra global memory
access which can done by local variable.
Signed-off-by: shubham <shub98.gupta@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Dec 2018 09:47:56 +0000 (18:47 +0900)]
Define compile state (#4055)
* Define compile state
- Define 4 compile state getter/setter in plan
- Set compiled state when compile finished
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Rename getter & setter
* Use class enum instead of enum
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Dec 2018 09:47:44 +0000 (18:47 +0900)]
Move test-related codes in tools into tests (#4058)
Move test-related codes in tools into tests
- nnapi_test
- tflite_run
- tflite_benchmark
- tflite_benchmark_model
Update cmake, root makefile, and spec file
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 09:34:06 +0000 (15:04 +0530)]
Add gtests to test pack and unpack op for int daatypes (#4038)
This patch will add gtests to test pack and unpack
op for int32 datatypes
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 09:33:44 +0000 (15:03 +0530)]
Rearranging non-class func to seperate from CLass func (#4051)
It will be better to put non-class func in namespace
to have clear seperation of class and non-class func
This patch will rearrange the val_arg func so as to
have that in a namespace.
Signed-off-by: shubham <shub98.gupta@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Dec 2018 08:06:22 +0000 (17:06 +0900)]
Collect implementation test code into contrib/labs (#4025)
Collect contribs build by BUILD_LABS into contrib/labs
Move tools/tflite_examples into contrib/labs
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 17 Dec 2018 06:27:08 +0000 (15:27 +0900)]
[neurun] Remove backend depenency in Permute (#4011)
This commit removes backend dependency in `Permute` such as `Window`, `Iterator` and `ICLTensor`...
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Dec 2018 04:21:57 +0000 (13:21 +0900)]
Remove environment checking in profiling library (#4053)
* Remove environment checking in profiling library
Remove Sync class
Define boolean sync field and setter in Context
Remove environment checking in profiling library
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Rename env: PROFILING_OP_SYNC
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 17 Dec 2018 04:20:41 +0000 (13:20 +0900)]
Move build flag for benchmark model tool checking (#4056)
Move build flag BUILD_TFLITE_BENCHMARK_MODEL checking into tool's cmake
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 01:56:25 +0000 (07:26 +0530)]
Remove PReLU Layer from internal/layers (#4043)
This patch removes PReLU layer from internal/layers
Since cl kernel for the same has been implemented and merged.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 01:39:46 +0000 (07:09 +0530)]
Realignment of doxygen comments in various CL Host files (#4052)
In order to have uniformity and similarity to ACL
and NeuralNetworks.h's style of doxygen comments,
this patch realigns the comments.
Signed-off-by: shubham <shub98.gupta@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 17 Dec 2018 01:05:23 +0000 (06:35 +0530)]
Add CLKernel calls for Comparison operators (#4044)
This patch adds CLKernel calls for comparison operators
- Equal
- Not Equal
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 07:11:48 +0000 (12:41 +0530)]
Changes in DataType supported by CL and host files of SquaredDifference and Neg (#4013)
This patch adds changes in DataType supported by CL and host files of SquaredDifference and Neg
Reference NeuralNetworksEx.h
Signed-off-by: prasannar <prasanna.r@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 14 Dec 2018 07:09:43 +0000 (16:09 +0900)]
[neurun] Replace EnvVar with ConfigManager (#4045)
Replace EnvVar with ConfigManager. Some default values are revised to
work in the same way as before.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 06:40:16 +0000 (12:10 +0530)]
Correction in various gtests (#4036)
1.correction in datatype for shape
2.correction in input and output values based on datatype
3.renaming files based on the datatype they are testing for.
Signed-off-by: shubham <shub98.gupta@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 14 Dec 2018 06:25:01 +0000 (15:25 +0900)]
[neurun] Remove backend/acl_cl/kernel/View.h (#4003)
Related : #3983
This commit removes `backend/acl_cl/kernel/View.h` that is duplicated with other `View` classes.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 02:22:47 +0000 (07:52 +0530)]
Add missing assertions in TransposeConv visit func (#4027)
This patch will add assertions for tensors rank in TransposeConv
visit func
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 02:10:25 +0000 (07:40 +0530)]
Renaming of gtests to provide the datatype info they are testing (#4035)
Since many of the gtests have datatype in their name which they are
testing. Moreover, having datatype in the names will give more clear
distinction in gtests, this patch renames the gtest files to do the
same.
Signed-off-by: shubham <shub98.gupta@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 14 Dec 2018 01:37:20 +0000 (10:37 +0900)]
[neurun] Move template specializations (#4039)
Move template specializations to source file to avoid duplicated
definition error.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 14 Dec 2018 01:37:05 +0000 (10:37 +0900)]
[neurun] Create a singleton for ConfigManager (#4040)
Create a singleton for ConfigManager. Restrict ctor to be private so it
does not instantiated by code from other places.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 01:35:50 +0000 (07:05 +0530)]
Remove unnecessary switch case from ArgMinMax kernel (#4033)
Since axis is always less than input rank and in Host file
there is already an assertion of axis<rank.
this switch case is not req and hence reducing the unnecessary
switch arithematic.
This patch will remove this unnecessary switch case and reducing code
redundancy.
Signed-off-by: shubham <shub98.gupta@samsung.com>
장지섭/동작제어Lab(SR)/Engineer/삼성전자 [Fri, 14 Dec 2018 01:17:27 +0000 (10:17 +0900)]
Remove dependece of data format(NHWC) of PACL runtime from kernels of SPACE_TO_BATCH_ND (#4024)
This commit removes dependece of data format(NHWC) of PACL runtime from kernels of SPACE_TO_BATCH_ND.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
Devansh Bansal/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 01:17:12 +0000 (06:47 +0530)]
Adding float gtests for split (#4028)
This patch adds float gtests for split.
Signed-off-by: b.devansh <b.devansh@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 01:16:01 +0000 (06:46 +0530)]
Implementation for CL to support padding for tensors upto rank<=4 (#3945)
This patch will enable pad op to support padding of tensors having
rank <=4
Signed-off-by: shubham <shub98.gupta@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 01:15:15 +0000 (06:45 +0530)]
Remove AND GTests from skiplist (#3982)
This patch removes AND GTests from skiplists.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 01:13:54 +0000 (06:43 +0530)]
Add DataTypes supported by BinaryLogicalOp CL Kernel (#4012)
This patch adds DataType supported by BinaryLogicalOp CL Kernel
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 01:13:29 +0000 (06:43 +0530)]
Add CL Kernel for PRELU (#3961)
This patch adds single CL Kernel for PReLU implemented as,
f(x) = alpha * x for x < 0, f(x) = x for x >= 0.
As of now (#3901 ) PReLU implemented as,
f(x) = Relu(x) + (negative_alpha * Neg(x, activation=Relu))
Scope:
- Optimization
- No switch between CPU & GPU
Signed-off-by: prasannar <prasanna.r@samsung.com>
Add tests for LogicalNot (#3600)
This commit adds tests for LogicalNot op
Signed-off-by: Poshshoev Dilshodzhon <d.poshshoev@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Fri, 14 Dec 2018 00:58:59 +0000 (06:28 +0530)]
Propose unified kernel for Comparison operators and bug fix (#3914)
This patch proposed unified CL Kernel for Comparison operator
This patch includes:
- CL kernel for EQUAL/NOT_EQUAL
- TRUTH value bug fix
- CL Kernel that can be easily extended for GT, LT, GE, LE
Signed-off-by: prasannar <prasanna.r@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 10:14:56 +0000 (19:14 +0900)]
Update namespace and ifdef for libs/misc (#4022)
Update ifdef for libs/misc
Update namespace libs/misc as nnfw::misc
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 09:42:59 +0000 (18:42 +0900)]
Move tools/test_driver to tests/scripts (#4019)
* Move tools/test_driver to tests/scripts
Move tools/test_driver to tests/scripts
Update test path
Workaround for CI
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Comment in Makefile for workaround
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 13 Dec 2018 09:39:44 +0000 (18:39 +0900)]
[neurun] Introduce ConfigManager (#4021)
Introduce ConfigManager that manages global configuration data.
The values are from Environment Variables.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Thu, 13 Dec 2018 09:36:13 +0000 (15:06 +0530)]
Correction in GTests of Equal_Ex with truth value as 0xff (255) (#3927)
This patch corrects GTests of Equal_Ex with truth value as 0xff (255)
Related issue: #3823 #3851
As quoted by @hseok82-oh
>IMO, use 0xff (255) for true, and 0x00 (0) for false in test.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Thu, 13 Dec 2018 09:27:16 +0000 (14:57 +0530)]
Add gtest to test broadcasting in Notequal op (#3717)
This patch will test broadcasting in notequal op
Signed-off-by: shubham <shub98.gupta@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 07:37:15 +0000 (16:37 +0900)]
Update namespace in libs/tflite/ext (#4015)
Update namespace in libs/tflite/ext to nnfw::tflite
Reduce namespace depth for custom op
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 13 Dec 2018 04:02:25 +0000 (13:02 +0900)]
[neurun] Use IObject in PermuteLayer (#4005)
This commit uses `IObject` insted of `ITensor` in `PermuteLayer`, since we don't want to use `map/unmap` functions explicitly and to get any `ACL` dependencies.
Related : #3279
Part of : #3873
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 03:21:05 +0000 (12:21 +0900)]
Fix external tensorflow lite build cmake (#4007)
- Remove BUILD_TFLITE_BENCHMARK_MODEL check for profiling source code
- Fix typo
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 03:20:41 +0000 (12:20 +0900)]
Rename tensorflow lite interpreter test (#4009)
* Rename tensorflow lite interpreter test
Rename tensorflow lite interpreter test by comparing with result of tensorflow
: tf_test -> tflite_test
* Fix build option description
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 13 Dec 2018 02:14:31 +0000 (11:14 +0900)]
Move how to run guideline into readme file (#3987)
This patch moves the how to run guideline into readme file
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 01:43:53 +0000 (10:43 +0900)]
Add argmax quant8 to skiplist (#4004)
Add argmax quant8 to skiplist: test fail
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Thu, 13 Dec 2018 01:35:01 +0000 (10:35 +0900)]
Move libs/misc/profiling to libs/profiling (#3997)
Move libs/misc/profiling to libs/profiling for profiling library
Update cmake to link profiling library
Update header path for profiling
Update cmake for tensorflow build to support build with BUILD_TFLITE_BENCHMARK_MODEL option
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
ArgMinMax CL kernel for ArgMax and ArgMin (#3867)
The changes introduce the argmax and argmin CL kernel in one cl file.
Signed-off-by: Praveen D N <praveen.dn@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Thu, 13 Dec 2018 00:53:26 +0000 (06:23 +0530)]
Add gtest to test LogicalAnd op for 2D and 3D tensors (#3938)
This patch will add gtests to test logicalAnd op for 2D and 3D tensors
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Thu, 13 Dec 2018 00:53:06 +0000 (06:23 +0530)]
Add gtest to test LogicalOr for 2D and 3D tensors (#3939)
This patch will add gtests to test logicalOr for 2d and 3d tensors
Signed-off-by: shubham <shub98.gupta@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 13 Dec 2018 00:51:13 +0000 (09:51 +0900)]
Pass explicitly local workgroup size to enqueue in acl (#3996)
This patch allows the local workgroup size(_lws_hint) value pass to enqueue function
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
이한종/동작제어Lab(SR)/Engineer/삼성전자 [Thu, 13 Dec 2018 00:17:01 +0000 (09:17 +0900)]
[neurun] Introduce Config.lst (#3999)
Config.lst is a macro list with fields "Name", "Type", "Default value".
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 12 Dec 2018 11:16:02 +0000 (20:16 +0900)]
[neurun] Fix wrong size calculation when permuting (#3998)
This commit fixes wrong size calculation when permuting.
It should be data size not pointer size.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 12 Dec 2018 10:42:03 +0000 (19:42 +0900)]
Apply dim correction to neg operator (#3986)
This allows to apply dim correction to Neg operator
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 12 Dec 2018 10:13:08 +0000 (19:13 +0900)]
[neurun] Change ifdef guard in Convert.h (#3990)
This commit changes ifdef guard in `Convert.h` to correct.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
[neurun] Use host memory in acl_cl (#3974)
Related issue:3735
Add CLTensor::setBuffer to be able to use host memory from the acl_cl
Signed-off-by: Poshshoev Dilshodzhon <d.poshshoev@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 09:02:19 +0000 (14:32 +0530)]
Add GTests to test broadcast of LogicalAND op (#3950)
This patch adds GTests to test broadcast of LogicalAND op.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 09:02:02 +0000 (14:32 +0530)]
ADD 1D, 2D, 3D, 4D GTests for RSQRT (#3932)
This patch adds 1D, 2D, 3D, 4D GTests for RSQRT
Signed-off-by: prasannar <prasanna.r@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Wed, 12 Dec 2018 08:56:23 +0000 (17:56 +0900)]
Fix build bug by tflite library namespace (#3993)
Fix build bug by tflite library namespace change
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Wed, 12 Dec 2018 08:39:07 +0000 (17:39 +0900)]
Update namespace and ifdef for tflite library (#3968)
* Update namespace and ifdef for tflite library
Make tflite/extend directory for ported codes from public tensorflow
Update namespace except extended directory
Update ifdef in header
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Rename tflite/extend to tflite/ext
* Fix format
* Update ifdef in ext
* Flatten namespace nnfw::tflite::interp to nnfw::tflite
* Add comment for endif
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 08:38:08 +0000 (14:08 +0530)]
Add missing axises comment (#3979)
This patch will add missing axises comment.
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 08:27:54 +0000 (13:57 +0530)]
Fix wrong radius of LRN in NENormalization (#3977)
Fix wrong radius setting for LRN
Signed-off-by: shubham <shub98.gupta@samsung.com>
이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Wed, 12 Dec 2018 07:38:50 +0000 (16:38 +0900)]
Make TestGenerated file for each version (#3975)
* Make TestGenerated file for each version
On coverage build, build have failed since all_generated_tests.cpp is too
large. This patch will generate a test file for each NNAPI version.
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
* Extract common code from TestGenerated_XX.cpp
- Extract common code from TestGenerated_XX.cpp
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Wed, 12 Dec 2018 05:13:21 +0000 (14:13 +0900)]
Support boolean input param in tflite_run (#3958)
This patch assigns random boolean value to boolean input param.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 04:03:42 +0000 (09:33 +0530)]
Add gtest to test Exp op for 3D/4D tesnors (#3797)
This patch will add gtest to test Exp op for tesnors having
dimensions other than 4
Signed-off-by: shubham <shub98.gupta@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 02:00:35 +0000 (07:30 +0530)]
Add CL Kernel calls for LogicalAnd op (#3970)
This patch adds CL Kernel calls for LogicalAnd op
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 01:59:53 +0000 (07:29 +0530)]
Remove setting of false to apply_dim_correction in compilation,cc for Broadcast support ops (#3976)
This patch removes setting of false to apply_dim_correction in compilation,cc for Broadcast support ops.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 01:52:17 +0000 (07:22 +0530)]
Add GTests to test broadcast of LogicalOR (#3949)
This patch adds GTests to test broadcast of LogicalOR.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 01:14:51 +0000 (06:44 +0530)]
Redefine REDUCE_MIN in NeuralNetworkEx.h (#3925)
This patch redefines REDUCE_MIN in NeuralNetworkEx.h
explaining it supports INT32 also
Reference tf.reduce_min
input_tensor: The tensor to reduce. Should have numeric type.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 01:14:03 +0000 (06:44 +0530)]
Redefine REDUCE_MIN in NeuralNetworkEx.h (#3926)
This patch redefines REDUCE_MIN in NeuralNetworkEx.h
explaining it supports INT32 also
Reference tf.reduce_max
```
input_tensor: The tensor to reduce. Should have numeric type.
```
Signed-off-by: prasannar <prasanna.r@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 01:13:43 +0000 (06:43 +0530)]
Add gtest to test neg op for int datatype (#3930)
This patch will add gtest to test neg for int datatype
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Wed, 12 Dec 2018 01:11:20 +0000 (06:41 +0530)]
Correction in GTests of NotEqual_Ex with truth value as 0xff (255) (#3929)
This patch corrects GTests of NotEqual_Ex with truth value as 0xff (255)
Related issue: #3823 #3851
Signed-off-by: shubham <shub98.gupta@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Tue, 11 Dec 2018 07:04:53 +0000 (12:34 +0530)]
Fix Typo in internal/op/* files (#3973)
This patch fixes typo issues in internal/op/*.h files
changes:
```defualt -> default```
Signed-off-by: prasannar <prasanna.r@samsung.com>
이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Tue, 11 Dec 2018 06:15:18 +0000 (15:15 +0900)]
Fix typo on SimpleArgMinMax.cc (#3972)
fix typo : defualy -> default
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 11 Dec 2018 05:15:19 +0000 (14:15 +0900)]
Use TFLiteConverter instead of deprecated API in tensorflow_model_freezer (#3917)
Add prerequires section in readme
Use tflite v1.12 tool to support the extended operators
Fix some tc errors
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 11 Dec 2018 04:35:50 +0000 (13:35 +0900)]
Add sample py example for some operator (#3919)
Added operators:
ARGMAX, ARGMIN, LOGICAL_AND, LOGICAL_NOT, LOGICAL_OR, STACK, UNSTACK
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Tue, 11 Dec 2018 02:41:31 +0000 (11:41 +0900)]
Update tflite library name in cmake (#3967)
Update tflite library name in cmake to nnfw_lib_tflite
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Tue, 11 Dec 2018 02:08:18 +0000 (11:08 +0900)]
[neurun] Remove default values in View.h (#3966)
This commit removes default values of `feature_index_to_byte_offset`'s parameter in `View.h`.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Tue, 11 Dec 2018 00:39:06 +0000 (09:39 +0900)]
Update namespace of nnapi library (#3965)
Update namespace of nnapi library: nnfw::support::nnapi to nnfw::nnapi
Update header ifdef
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
김수진/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 10 Dec 2018 11:26:29 +0000 (20:26 +0900)]
[neurun] Fix wrong parameter in nchw View.h (#3963)
This commit fixes wrong parameter for 3 rank in nchw `View.h`.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 10 Dec 2018 11:23:19 +0000 (20:23 +0900)]
Rename libs/util to libs/misc and update cmake (#3962)
Rename libs/util to libs/misc
Use static build only
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
윤지영/동작제어Lab(SR)/Engineer/삼성전자 [Mon, 10 Dec 2018 08:26:57 +0000 (17:26 +0900)]
Resolve inconsistencies in the boolean data values (#3957)
* Resolve inconsistencies in the boolean data values
Since the data is stored in the index value of the input/output tensors,
it is modified to use the index value when it accesses the data.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
* Use meaningful variable names
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 10 Dec 2018 06:40:20 +0000 (15:40 +0900)]
Move libs/support/tflite to libs/tflite (#3920)
Move libs/support/tflite to libs/tflite
Update header include path
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 10 Dec 2018 06:32:43 +0000 (15:32 +0900)]
Change nnapi library name and update cmake (#3956)
Chane nnapi library name: nnfw_support_nnapi -> nnfw_lib_nnapi
Specify library type as static
Remove unused nnapi library link
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 06:26:02 +0000 (11:56 +0530)]
Remove redundant .cl files regarding reduce operations (#3952)
This patch removes redundant .cl files regarding reduce operations
In issue: #3448
Since Unification of reduce kernel is merged,
removal of existing implementation can be removed
Hence removing the same.
Signed-off-by: prasannar <prasanna.r@samsung.com>
이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 [Mon, 10 Dec 2018 06:02:11 +0000 (15:02 +0900)]
Update skiplist for tizen (#3953)
Now, the skiplist of tizen is the same as linux's
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 05:13:42 +0000 (10:43 +0530)]
Add PReLU CL Kernel calls from PACL (#3916)
This patch adds PReLU CL Kernel calls from PACL.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 05:07:17 +0000 (10:37 +0530)]
Add 3D 4D Gtests for SquaredDifferenceEx op (#3933)
This patch adds 3D 4D Gtests for SquaredDifferenceEx op.
Signed-off-by: prasannar <prasanna.r@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:58:05 +0000 (07:28 +0530)]
Add GTests for SQRT_EX 3D 4D case (#3934)
This patch GTests for SQRT_EX 3D 4D case
Signed-off-by: prasannar <prasanna.r@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:56:28 +0000 (07:26 +0530)]
Add validations for Neg op in CLKernel.cpp (#3931)
This patch will add validations req to be tested
before executing neg op
Signed-off-by: shubham <shub98.gupta@samsung.com>
Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:55:18 +0000 (07:25 +0530)]
Remove unwanted apache license from RSQRT Gtest (#3937)
This patch removes unwanted apache license from RSQRT Gtest ```rsqrt_ex_float1.mod.py```
Signed-off-by: prasannar <prasanna.r@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:53:41 +0000 (07:23 +0530)]
Implement LogicalOr op in PACL (#3944)
This patch will add implementation of LogicalOr op
in PACL
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:44:09 +0000 (07:14 +0530)]
Add gtest to test quant8 datatype for NotEqual Op (#3757)
This patch will add gtest to test quant8 datatype for NotEqual Op
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:42:50 +0000 (07:12 +0530)]
Add NNAPI delegation for LOGICAL_OR (#3904)
This patch adds NNAPI delegation for LOGICAL_OR.
Related issue: #3459
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:28:33 +0000 (06:58 +0530)]
Generic EmbeddingLookup kernel to handle tensors upto rank=4 (#3794)
This patch unifies the 3 different embedding lookup kernel into
one kernel so as to make a generic cl to support upto 4d tensors.
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:28:15 +0000 (06:58 +0530)]
Defining default constructor in Pack and Unpack layer (#3907)
This patch will define default constructor in Pack and
Unpack Layers
Signed-off-by: shubham <shub98.gupta@samsung.com>
Shubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 [Mon, 10 Dec 2018 01:27:55 +0000 (06:57 +0530)]
Generic HashTableLookup kernel to handle tensors upto rank=4 (#3798)
This patch unifies the 3 different hashtable lookup kernel into
one kernel so as to make a generic cl to support upto 4d tensors.
Signed-off-by: shubham <shub98.gupta@samsung.com>