From b87b65a5b03868335385dfbf7fef290b88161c2e 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: Fri, 6 Sep 2019 17:55:56 +0900 Subject: [PATCH] [res] Conv2DBackpropInput with 3x3 stride 2 (#7194) This will add TensorFlow test material for Conv2DBackpropInput with 3x3 filter and stride 2 Signed-off-by: SaeHie Park --- .../UNIT_Conv2DBackpropInput_001/test.info | 2 + .../UNIT_Conv2DBackpropInput_001/test.pbtxt | 136 +++++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info create mode 100644 res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.pbtxt diff --git a/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info b/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info new file mode 100644 index 0000000..2537d07 --- /dev/null +++ b/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info @@ -0,0 +1,2 @@ +input, ifm:0, TF_FLOAT, [1, 8, 6, 3] +output, ofm:0, TF_FLOAT, [1, 16, 12, 2] diff --git a/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.pbtxt b/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.pbtxt new file mode 100644 index 0000000..8930c42 --- /dev/null +++ b/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.pbtxt @@ -0,0 +1,136 @@ +node { + name: "ifm" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 6 + } + dim { + size: 3 + } + } + } + } +} +node { + name: "weights" + op: "Const" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 3 + } + dim { + size: 3 + } + dim { + size: 2 + } + dim { + size: 3 + } + } + float_val: 1.0 + } + } + } +} +node { + name: "outshape" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + int_val: 1 + int_val: 16 + int_val: 12 + int_val: 2 + } + } + } +} +node { + name: "ofm" + op: "Conv2DBackpropInput" + input: "outshape" + input: "weights" + input: "ifm" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } + attr { + key: "dilations" + value { + list { + i: 1 + i: 1 + i: 1 + i: 1 + } + } + } + attr { + key: "padding" + value { + s: "SAME" + } + } + attr { + key: "strides" + value { + list { + i: 1 + i: 2 + i: 2 + i: 1 + } + } + } +} -- 2.7.4