summaryrefslogtreecommitdiff
path: root/compiler/enco/test/tflite/Conv2D_002/test.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/enco/test/tflite/Conv2D_002/test.recipe')
-rw-r--r--compiler/enco/test/tflite/Conv2D_002/test.recipe46
1 files changed, 46 insertions, 0 deletions
diff --git a/compiler/enco/test/tflite/Conv2D_002/test.recipe b/compiler/enco/test/tflite/Conv2D_002/test.recipe
new file mode 100644
index 000000000..55976c9b9
--- /dev/null
+++ b/compiler/enco/test/tflite/Conv2D_002/test.recipe
@@ -0,0 +1,46 @@
+# Test for RELU activation layer
+operand {
+ name: "ifm"
+ type: FLOAT32
+ shape { dim: 1 dim: 3 dim: 3 dim: 2 }
+}
+operand {
+ name: "ker"
+ type: FLOAT32
+ shape { dim: 1 dim: 1 dim: 1 dim: 2 }
+ filler {
+ tag: "gaussian"
+ arg: "0.0"
+ arg: "1.0"
+ }
+}
+operand {
+ name: "bias"
+ type: FLOAT32
+ shape { dim: 1 }
+ filler {
+ tag: "gaussian"
+ arg: "0.0"
+ arg: "1.0"
+ }
+}
+operand {
+ name: "ofm"
+ type: FLOAT32
+ shape { dim: 1 dim: 3 dim: 3 dim: 1 }
+}
+operation {
+ type: "Conv2D"
+ conv2d_options {
+ padding: VALID
+ stride_w: 1
+ stride_h: 1
+ activation: RELU
+ }
+ input: "ifm"
+ input: "ker"
+ input: "bias"
+ output: "ofm"
+}
+input: "ifm"
+output: "ofm"