From 8c6940ae5029c0739d0ce0f30078f97b1a13a921 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 5 Sep 2019 14:24:40 +0900 Subject: [PATCH] [res_tf] TF test for Sub broadcast (#7192) This will add TensorFlow test material for Sub broadcast operation Signed-off-by: SaeHie Park --- res/TensorFlowTests/UNIT_Sub_001/test.info | 3 ++ res/TensorFlowTests/UNIT_Sub_001/test.pbtxt | 61 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 res/TensorFlowTests/UNIT_Sub_001/test.info create mode 100644 res/TensorFlowTests/UNIT_Sub_001/test.pbtxt diff --git a/res/TensorFlowTests/UNIT_Sub_001/test.info b/res/TensorFlowTests/UNIT_Sub_001/test.info new file mode 100644 index 0000000..3135817 --- /dev/null +++ b/res/TensorFlowTests/UNIT_Sub_001/test.info @@ -0,0 +1,3 @@ +input, input_01:0, TF_FLOAT, [1, 3, 3, 5] +input, input_02:0, TF_FLOAT, [5] +output, sub:0, TF_FLOAT, [1, 3, 3, 5] diff --git a/res/TensorFlowTests/UNIT_Sub_001/test.pbtxt b/res/TensorFlowTests/UNIT_Sub_001/test.pbtxt new file mode 100644 index 0000000..a0ab396 --- /dev/null +++ b/res/TensorFlowTests/UNIT_Sub_001/test.pbtxt @@ -0,0 +1,61 @@ +node { + name: "input_01" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 3 + } + dim { + size: 3 + } + dim { + size: 5 + } + } + } + } +} +node { + name: "input_02" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 5 + } + } + } + } +} +node { + name: "sub" + op: "Sub" + input: "input_01" + input: "input_02" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} -- 2.7.4