From: 남궁석/On-Device Lab(SR)/Engineer/삼성전자 Date: Thu, 22 Aug 2019 09:56:25 +0000 (+0900) Subject: [res] Add UNIT_Tanh_000 testcase (#6839) X-Git-Tag: accepted/tizen/unified/20190903.052428~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=447db7a64f3f0b72c2fc401681660459a66c54e1;p=platform%2Fcore%2Fml%2Fnnfw.git [res] Add UNIT_Tanh_000 testcase (#6839) This commit will add `UNIT_Tanh_000` testcase Signed-off-by: Seok NamKoong --- diff --git a/res/TensorFlowTests/UNIT_Tanh_000/test.info b/res/TensorFlowTests/UNIT_Tanh_000/test.info new file mode 100644 index 0000000..6655a9f --- /dev/null +++ b/res/TensorFlowTests/UNIT_Tanh_000/test.info @@ -0,0 +1,2 @@ +input, Placeholder:0, TF_FLOAT, [1, 2, 1, 2] +output, output/tanh:0, TF_FLOAT, [1, 2, 1, 2] diff --git a/res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt b/res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt new file mode 100644 index 0000000..7b3d285 --- /dev/null +++ b/res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt @@ -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/tanh" + op: "Tanh" + input: "Placeholder" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +}