summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2019-09-06 17:55:56 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2019-09-06 17:55:56 +0900
commitb87b65a5b03868335385dfbf7fef290b88161c2e (patch)
tree283b6e7469ce5daf9a125c8577afdda716af0e20
parent198fa86d7ac4568bcd0534cc5aeb0bff9760d6a9 (diff)
downloadnnfw-b87b65a5b03868335385dfbf7fef290b88161c2e.tar.gz
nnfw-b87b65a5b03868335385dfbf7fef290b88161c2e.tar.bz2
nnfw-b87b65a5b03868335385dfbf7fef290b88161c2e.zip
[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 <saehie.park@samsung.com>
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.pbtxt136
2 files changed, 138 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info b/res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info
new file mode 100644
index 000000000..2537d0732
--- /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 000000000..8930c4221
--- /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
+ }
+ }
+ }
+}