From: 윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 Date: Wed, 27 Nov 2019 23:12:13 +0000 (+0900) Subject: [res/TensorFlowTests] error case UI_0009 ~ UI_0012 (#9248) X-Git-Tag: submit/tizen/20191205.083104~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1a8a2dd04b73ba064ff8d9096da6a5444c80109;p=platform%2Fcore%2Fml%2Fnnfw.git [res/TensorFlowTests] error case UI_0009 ~ UI_0012 (#9248) This adds error case UI_0009 ~ UI_0012. Signed-off-by: Hyun Sik Yoon --- 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 + } + } +}