summaryrefslogtreecommitdiff
path: root/res/TensorFlowTests/REGRESSION_0002
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowTests/REGRESSION_0002')
-rw-r--r--res/TensorFlowTests/REGRESSION_0002/test.info2
-rw-r--r--res/TensorFlowTests/REGRESSION_0002/test.manifest1
-rw-r--r--res/TensorFlowTests/REGRESSION_0002/test.pbtxt66
3 files changed, 69 insertions, 0 deletions
diff --git a/res/TensorFlowTests/REGRESSION_0002/test.info b/res/TensorFlowTests/REGRESSION_0002/test.info
new file mode 100644
index 000000000..c3e16f6b2
--- /dev/null
+++ b/res/TensorFlowTests/REGRESSION_0002/test.info
@@ -0,0 +1,2 @@
+input, ifm:0, TF_FLOAT, [1, 5, 5, 3]
+output, ofm:0, TF_FLOAT, [1, 4, 4, 2]
diff --git a/res/TensorFlowTests/REGRESSION_0002/test.manifest b/res/TensorFlowTests/REGRESSION_0002/test.manifest
new file mode 100644
index 000000000..55d2852ae
--- /dev/null
+++ b/res/TensorFlowTests/REGRESSION_0002/test.manifest
@@ -0,0 +1 @@
+SUMMARY: Conv2d without dilation attribute is correct according documentation and should be compiled
diff --git a/res/TensorFlowTests/REGRESSION_0002/test.pbtxt b/res/TensorFlowTests/REGRESSION_0002/test.pbtxt
new file mode 100644
index 000000000..e5d60f855
--- /dev/null
+++ b/res/TensorFlowTests/REGRESSION_0002/test.pbtxt
@@ -0,0 +1,66 @@
+node {
+ name: "ifm"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value { type: DT_FLOAT }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim { size: 1 }
+ dim { size: 5 }
+ dim { size: 5 }
+ dim { size: 3 }
+ }
+ }
+ }
+}
+node {
+ name: "ker"
+ op: "Const"
+ attr {
+ key: "dtype"
+ value { type: DT_FLOAT }
+ }
+ attr {
+ key: "value"
+ value {
+ tensor {
+ dtype: DT_FLOAT
+ tensor_shape {
+ dim { size: 2 }
+ dim { size: 2 }
+ dim { size: 3 }
+ dim { size: 2 }
+ }
+ float_val: 1.1
+ }
+ }
+ }
+}
+node {
+ name: "ofm"
+ op: "Conv2D"
+ input: "ifm"
+ input: "ker"
+ attr {
+ key: "T"
+ value { type: DT_FLOAT }
+ }
+ attr {
+ key: "data_format"
+ value { s: "NHWC" }
+ }
+ attr {
+ key: "padding"
+ value { s: "VALID" }
+ }
+ attr {
+ key: "strides"
+ value {
+ list { i: 1 i: 1 i: 1 i: 1 }
+ }
+ }
+}