Add TensorFlow Relu6 test (#4256)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 15 Jul 2019 05:05:48 +0000 (14:05 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 15 Jul 2019 05:05:48 +0000 (14:05 +0900)
This commit adds Relu6_000 TensorFlow testcase.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
res/TensorFlowTests/Relu6_000/test.info [new file with mode: 0644]
res/TensorFlowTests/Relu6_000/test.pbtxt [new file with mode: 0644]

diff --git a/res/TensorFlowTests/Relu6_000/test.info b/res/TensorFlowTests/Relu6_000/test.info
new file mode 100644 (file)
index 0000000..3291724
--- /dev/null
@@ -0,0 +1,2 @@
+input,  Placeholder:0, TF_FLOAT, [1, 4, 4, 3]
+output, Relu6:0,       TF_FLOAT, [1, 4, 4, 3]
diff --git a/res/TensorFlowTests/Relu6_000/test.pbtxt b/res/TensorFlowTests/Relu6_000/test.pbtxt
new file mode 100644 (file)
index 0000000..b298991
--- /dev/null
@@ -0,0 +1,30 @@
+node {
+  name: "Placeholder"
+  op: "Placeholder"
+  attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
+    key: "shape"
+    value {
+      shape {
+        dim { size: 1 }
+        dim { size: 4 }
+        dim { size: 4 }
+        dim { size: 3 }
+      }
+    }
+  }
+}
+node {
+  name: "Relu6"
+  op: "Relu6"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value { type: DT_FLOAT }
+  }
+}