Add Kernel ACL test case for ReLU6 (#1766)
author윤지영/동작제어Lab(SR)/Engineer/삼성전자 <jy910.yun@samsung.com>
Thu, 5 Jul 2018 01:34:07 +0000 (10:34 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 5 Jul 2018 01:34:07 +0000 (10:34 +0900)
commit2c495dd0c3f85cce92f0b06e74abeac23d42e081
tree1fd39ae91c5da1133f05c85b1cc1a8b7a3419032
parent04d8553fdc486f2651c42e0be15c5abaf9b2c2cc
Add Kernel ACL test case for ReLU6 (#1766)

Add tests for both NEON and CL kernel were added
Support tests for 2d-tensors and 4d-tensors
To compare a performance btw BOUNDED_RELU and LU_BOUNDED_RELU,
add two kinds of ReLU6 implementation
  - BOUNDED_RELU : Upper Bounded Rectifier (f(x) = min(a, max(0,x))
  - LU_BOUNDED_RELU : Lower and Upper Bounded Rectifier (f(x) = min(a, max(b,x))

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
include/kernel/acl/ReLU6.h [new file with mode: 0644]
libs/kernel/acl/CMakeLists.txt
libs/kernel/acl/src/cl/ReLU6.cpp [new file with mode: 0644]
libs/kernel/acl/src/cl/ReLU6.test.cpp [new file with mode: 0644]
libs/kernel/acl/src/neon/ReLU6.cpp [new file with mode: 0644]
libs/kernel/acl/src/neon/ReLU6.test.cpp [new file with mode: 0644]