[res] Add UNIT_Tanh_000 testcase (#6839)
author남궁석/On-Device Lab(SR)/Engineer/삼성전자 <sk.namkoong@samsung.com>
Thu, 22 Aug 2019 09:56:25 +0000 (18:56 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 22 Aug 2019 09:56:25 +0000 (18:56 +0900)
This commit will add `UNIT_Tanh_000` testcase

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
res/TensorFlowTests/UNIT_Tanh_000/test.info [new file with mode: 0644]
res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt [new file with mode: 0644]

diff --git a/res/TensorFlowTests/UNIT_Tanh_000/test.info b/res/TensorFlowTests/UNIT_Tanh_000/test.info
new file mode 100644 (file)
index 0000000..6655a9f
--- /dev/null
@@ -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 (file)
index 0000000..7b3d285
--- /dev/null
@@ -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
+    }
+  }
+}