[res] TensorFlow Sqrt_000 (#6617)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 14 Aug 2019 09:26:26 +0000 (18:26 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 14 Aug 2019 09:26:26 +0000 (18:26 +0900)
This will introduce TensorFlow basic test for Sqrt node

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

diff --git a/res/TensorFlowTests/Sqrt_000/test.info b/res/TensorFlowTests/Sqrt_000/test.info
new file mode 100644 (file)
index 0000000..9abb96a
--- /dev/null
@@ -0,0 +1,2 @@
+input,  Placeholder:0,      TF_FLOAT,   [1, 2, 1, 2]
+output, output/sqrt:0,      TF_FLOAT,   [1, 2, 1, 2]
diff --git a/res/TensorFlowTests/Sqrt_000/test.pbtxt b/res/TensorFlowTests/Sqrt_000/test.pbtxt
new file mode 100644 (file)
index 0000000..0324220
--- /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/sqrt"
+  op: "Sqrt"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value {
+      type: DT_FLOAT
+    }
+  }
+}