summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
author남궁석/On-Device Lab(SR)/Engineer/삼성전자 <sk.namkoong@samsung.com>2019-08-22 18:56:25 +0900
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2019-08-22 18:56:25 +0900
commit447db7a64f3f0b72c2fc401681660459a66c54e1 (patch)
tree5049e404e82af85a1b16640f194742ec7842c22a /res
parent867fc59c90fd80fed924bc0d0c407ac989e6db7e (diff)
downloadnnfw-447db7a64f3f0b72c2fc401681660459a66c54e1.tar.gz
nnfw-447db7a64f3f0b72c2fc401681660459a66c54e1.tar.bz2
nnfw-447db7a64f3f0b72c2fc401681660459a66c54e1.zip
[res] Add UNIT_Tanh_000 testcase (#6839)
This commit will add `UNIT_Tanh_000` testcase Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
Diffstat (limited to 'res')
-rw-r--r--res/TensorFlowTests/UNIT_Tanh_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt40
2 files changed, 42 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_Tanh_000/test.info b/res/TensorFlowTests/UNIT_Tanh_000/test.info
new file mode 100644
index 000000000..6655a9ff6
--- /dev/null
+++ b/res/TensorFlowTests/UNIT_Tanh_000/test.info
@@ -0,0 +1,2 @@
+input, Placeholder:0, TF_FLOAT, [1, 2, 1, 2]
+output, output/tanh:0, TF_FLOAT, [1, 2, 1, 2]
diff --git a/res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt b/res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt
new file mode 100644
index 000000000..7b3d28527
--- /dev/null
+++ b/res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt
@@ -0,0 +1,40 @@
+node {
+ name: "Placeholder"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value {
+ type: DT_FLOAT
+ }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim {
+ size: 1
+ }
+ dim {
+ size: 2
+ }
+ dim {
+ size: 1
+ }
+ dim {
+ size: 2
+ }
+ }
+ }
+ }
+}
+node {
+ name: "output/tanh"
+ op: "Tanh"
+ input: "Placeholder"
+ attr {
+ key: "T"
+ value {
+ type: DT_FLOAT
+ }
+ }
+}