[res] Add simple network of placeholder with unknown dimension. (#8229)
author채성우/On-Device Lab(SR)/Engineer/삼성전자 <sw4670.chae@samsung.com>
Thu, 17 Oct 2019 03:19:23 +0000 (12:19 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 17 Oct 2019 03:19:23 +0000 (12:19 +0900)
It is a simple network of placeholder with unknown dimension.

Signed-off-by: seongwoo <sw4670.chae@samsung.com>
res/TensorFlowTests/UNIT_Placeholder_001/test.info [new file with mode: 0644]
res/TensorFlowTests/UNIT_Placeholder_001/test.manifest [new file with mode: 0644]
res/TensorFlowTests/UNIT_Placeholder_001/test.pbtxt [new file with mode: 0644]

diff --git a/res/TensorFlowTests/UNIT_Placeholder_001/test.info b/res/TensorFlowTests/UNIT_Placeholder_001/test.info
new file mode 100644 (file)
index 0000000..f5e08fb
--- /dev/null
@@ -0,0 +1,2 @@
+input,  Placeholder:0,   TF_FLOAT,   [1, 2, 3, 4]
+output, Identity:0,      TF_FLOAT,   [1, 2, 3, 4]
diff --git a/res/TensorFlowTests/UNIT_Placeholder_001/test.manifest b/res/TensorFlowTests/UNIT_Placeholder_001/test.manifest
new file mode 100644 (file)
index 0000000..232ba50
--- /dev/null
@@ -0,0 +1 @@
+SUMMARY: A simple network of placeholder with unknown dimension.
diff --git a/res/TensorFlowTests/UNIT_Placeholder_001/test.pbtxt b/res/TensorFlowTests/UNIT_Placeholder_001/test.pbtxt
new file mode 100644 (file)
index 0000000..0913d28
--- /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: 3
+        }
+        dim {
+          size: -1
+        }
+      }
+    }
+  }
+}
+node {
+  name: "Identity"
+  op: "Identity"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value {
+      type: DT_FLOAT
+    }
+  }
+}