[res/TensorFlowTests] error case UI_0009 ~ UI_0012 (#9248)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Wed, 27 Nov 2019 23:12:13 +0000 (08:12 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 27 Nov 2019 23:12:13 +0000 (08:12 +0900)
This adds error case UI_0009 ~ UI_0012.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
12 files changed:
res/TensorFlowTests/UI_0009/test.info [new file with mode: 0644]
res/TensorFlowTests/UI_0009/test.manifest [new file with mode: 0644]
res/TensorFlowTests/UI_0009/test.pbtxt [new file with mode: 0644]
res/TensorFlowTests/UI_0010/test.info [new file with mode: 0644]
res/TensorFlowTests/UI_0010/test.manifest [new file with mode: 0644]
res/TensorFlowTests/UI_0010/test.pbtxt [new file with mode: 0644]
res/TensorFlowTests/UI_0011/test.info [new file with mode: 0644]
res/TensorFlowTests/UI_0011/test.manifest [new file with mode: 0644]
res/TensorFlowTests/UI_0011/test.pbtxt [new file with mode: 0644]
res/TensorFlowTests/UI_0012/test.info [new file with mode: 0644]
res/TensorFlowTests/UI_0012/test.manifest [new file with mode: 0644]
res/TensorFlowTests/UI_0012/test.pbtxt [new file with mode: 0644]

diff --git a/res/TensorFlowTests/UI_0009/test.info b/res/TensorFlowTests/UI_0009/test.info
new file mode 100644 (file)
index 0000000..8e78a07
--- /dev/null
@@ -0,0 +1,2 @@
+input,  Placeholder:1,  TF_FLOAT, [1, 2]    # Placeholder:1 does not exist in the model
+output,  Placeholder:0,  TF_FLOAT, [1, 2]
diff --git a/res/TensorFlowTests/UI_0009/test.manifest b/res/TensorFlowTests/UI_0009/test.manifest
new file mode 100644 (file)
index 0000000..78ed751
--- /dev/null
@@ -0,0 +1 @@
+SUMMARY: Wrong info file. Index of input tensor name is wrong in info file
diff --git a/res/TensorFlowTests/UI_0009/test.pbtxt b/res/TensorFlowTests/UI_0009/test.pbtxt
new file mode 100644 (file)
index 0000000..5806251
--- /dev/null
@@ -0,0 +1,34 @@
+node {
+  name: "Placeholder"
+  op: "Placeholder"
+  attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
+    key: "shape"
+    value {
+      shape {
+        dim {
+          size: 1
+        }
+        dim {
+          size: 2
+        }
+      }
+    }
+  }
+}
+node {
+  name: "relu"
+  op: "Relu"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value {
+      type: DT_FLOAT
+    }
+  }
+}
diff --git a/res/TensorFlowTests/UI_0010/test.info b/res/TensorFlowTests/UI_0010/test.info
new file mode 100644 (file)
index 0000000..c8da7cc
--- /dev/null
@@ -0,0 +1,2 @@
+input  Placeholder:0,  TF_FLOAT, [1, 2]
+output,  relu:0,  TF_FLOAT, [1, 2]
diff --git a/res/TensorFlowTests/UI_0010/test.manifest b/res/TensorFlowTests/UI_0010/test.manifest
new file mode 100644 (file)
index 0000000..598164e
--- /dev/null
@@ -0,0 +1 @@
+SUMMARY: Wrong info file. Missing comma after 'input'.
diff --git a/res/TensorFlowTests/UI_0010/test.pbtxt b/res/TensorFlowTests/UI_0010/test.pbtxt
new file mode 100644 (file)
index 0000000..5806251
--- /dev/null
@@ -0,0 +1,34 @@
+node {
+  name: "Placeholder"
+  op: "Placeholder"
+  attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
+    key: "shape"
+    value {
+      shape {
+        dim {
+          size: 1
+        }
+        dim {
+          size: 2
+        }
+      }
+    }
+  }
+}
+node {
+  name: "relu"
+  op: "Relu"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value {
+      type: DT_FLOAT
+    }
+  }
+}
diff --git a/res/TensorFlowTests/UI_0011/test.info b/res/TensorFlowTests/UI_0011/test.info
new file mode 100644 (file)
index 0000000..96cca79
--- /dev/null
@@ -0,0 +1,2 @@
+input,  Placeholder:0  TF_FLOAT, [1, 2]
+output,  relu:0,  TF_FLOAT, [1, 2]
diff --git a/res/TensorFlowTests/UI_0011/test.manifest b/res/TensorFlowTests/UI_0011/test.manifest
new file mode 100644 (file)
index 0000000..b0938eb
--- /dev/null
@@ -0,0 +1 @@
+SUMMARY: Wrong info file. Missing comma after input name.
diff --git a/res/TensorFlowTests/UI_0011/test.pbtxt b/res/TensorFlowTests/UI_0011/test.pbtxt
new file mode 100644 (file)
index 0000000..5806251
--- /dev/null
@@ -0,0 +1,34 @@
+node {
+  name: "Placeholder"
+  op: "Placeholder"
+  attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
+    key: "shape"
+    value {
+      shape {
+        dim {
+          size: 1
+        }
+        dim {
+          size: 2
+        }
+      }
+    }
+  }
+}
+node {
+  name: "relu"
+  op: "Relu"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value {
+      type: DT_FLOAT
+    }
+  }
+}
diff --git a/res/TensorFlowTests/UI_0012/test.info b/res/TensorFlowTests/UI_0012/test.info
new file mode 100644 (file)
index 0000000..b04feac
--- /dev/null
@@ -0,0 +1,2 @@
+input,  Placeholder:0,  TF_FLOAT [1, 2]
+output,  relu:0,  TF_FLOAT, [1, 2]
diff --git a/res/TensorFlowTests/UI_0012/test.manifest b/res/TensorFlowTests/UI_0012/test.manifest
new file mode 100644 (file)
index 0000000..e5765aa
--- /dev/null
@@ -0,0 +1 @@
+SUMMARY: Wrong info file. Missing comma after dtype.
diff --git a/res/TensorFlowTests/UI_0012/test.pbtxt b/res/TensorFlowTests/UI_0012/test.pbtxt
new file mode 100644 (file)
index 0000000..5806251
--- /dev/null
@@ -0,0 +1,34 @@
+node {
+  name: "Placeholder"
+  op: "Placeholder"
+  attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
+    key: "shape"
+    value {
+      shape {
+        dim {
+          size: 1
+        }
+        dim {
+          size: 2
+        }
+      }
+    }
+  }
+}
+node {
+  name: "relu"
+  op: "Relu"
+  input: "Placeholder"
+  attr {
+    key: "T"
+    value {
+      type: DT_FLOAT
+    }
+  }
+}