From a1a8a2dd04b73ba064ff8d9096da6a5444c80109 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 28 Nov 2019 08:12:13 +0900 Subject: [PATCH] [res/TensorFlowTests] error case UI_0009 ~ UI_0012 (#9248) This adds error case UI_0009 ~ UI_0012. Signed-off-by: Hyun Sik Yoon --- res/TensorFlowTests/UI_0009/test.info | 2 ++ res/TensorFlowTests/UI_0009/test.manifest | 1 + res/TensorFlowTests/UI_0009/test.pbtxt | 34 +++++++++++++++++++++++++++++++ res/TensorFlowTests/UI_0010/test.info | 2 ++ res/TensorFlowTests/UI_0010/test.manifest | 1 + res/TensorFlowTests/UI_0010/test.pbtxt | 34 +++++++++++++++++++++++++++++++ res/TensorFlowTests/UI_0011/test.info | 2 ++ res/TensorFlowTests/UI_0011/test.manifest | 1 + res/TensorFlowTests/UI_0011/test.pbtxt | 34 +++++++++++++++++++++++++++++++ res/TensorFlowTests/UI_0012/test.info | 2 ++ res/TensorFlowTests/UI_0012/test.manifest | 1 + res/TensorFlowTests/UI_0012/test.pbtxt | 34 +++++++++++++++++++++++++++++++ 12 files changed, 148 insertions(+) create mode 100644 res/TensorFlowTests/UI_0009/test.info create mode 100644 res/TensorFlowTests/UI_0009/test.manifest create mode 100644 res/TensorFlowTests/UI_0009/test.pbtxt create mode 100644 res/TensorFlowTests/UI_0010/test.info create mode 100644 res/TensorFlowTests/UI_0010/test.manifest create mode 100644 res/TensorFlowTests/UI_0010/test.pbtxt create mode 100644 res/TensorFlowTests/UI_0011/test.info create mode 100644 res/TensorFlowTests/UI_0011/test.manifest create mode 100644 res/TensorFlowTests/UI_0011/test.pbtxt create mode 100644 res/TensorFlowTests/UI_0012/test.info create mode 100644 res/TensorFlowTests/UI_0012/test.manifest create mode 100644 res/TensorFlowTests/UI_0012/test.pbtxt diff --git a/res/TensorFlowTests/UI_0009/test.info b/res/TensorFlowTests/UI_0009/test.info new file mode 100644 index 0000000..8e78a07 --- /dev/null +++ b/res/TensorFlowTests/UI_0009/test.info @@ -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 index 0000000..78ed751 --- /dev/null +++ b/res/TensorFlowTests/UI_0009/test.manifest @@ -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 index 0000000..5806251 --- /dev/null +++ b/res/TensorFlowTests/UI_0009/test.pbtxt @@ -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 index 0000000..c8da7cc --- /dev/null +++ b/res/TensorFlowTests/UI_0010/test.info @@ -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 index 0000000..598164e --- /dev/null +++ b/res/TensorFlowTests/UI_0010/test.manifest @@ -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 index 0000000..5806251 --- /dev/null +++ b/res/TensorFlowTests/UI_0010/test.pbtxt @@ -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 index 0000000..96cca79 --- /dev/null +++ b/res/TensorFlowTests/UI_0011/test.info @@ -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 index 0000000..b0938eb --- /dev/null +++ b/res/TensorFlowTests/UI_0011/test.manifest @@ -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 index 0000000..5806251 --- /dev/null +++ b/res/TensorFlowTests/UI_0011/test.pbtxt @@ -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 index 0000000..b04feac --- /dev/null +++ b/res/TensorFlowTests/UI_0012/test.info @@ -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 index 0000000..e5765aa --- /dev/null +++ b/res/TensorFlowTests/UI_0012/test.manifest @@ -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 index 0000000..5806251 --- /dev/null +++ b/res/TensorFlowTests/UI_0012/test.pbtxt @@ -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 + } + } +} -- 2.7.4