summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Net_Dequantize_Add_000/test.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowLiteRecipes/Net_Dequantize_Add_000/test.recipe')
-rw-r--r--res/TensorFlowLiteRecipes/Net_Dequantize_Add_000/test.recipe41
1 files changed, 41 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Net_Dequantize_Add_000/test.recipe b/res/TensorFlowLiteRecipes/Net_Dequantize_Add_000/test.recipe
new file mode 100644
index 000000000..5f212a7a6
--- /dev/null
+++ b/res/TensorFlowLiteRecipes/Net_Dequantize_Add_000/test.recipe
@@ -0,0 +1,41 @@
+operand {
+ name: "ifm"
+ type: FLOAT32
+ shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operand {
+ name: "float16"
+ type: FLOAT16
+ shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+ filler {
+ tag: "gaussian"
+ arg: "0.0"
+ arg: "1.0"
+ }
+}
+operand {
+ name: "dequantized"
+ type: FLOAT32
+ shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operand {
+ name: "ofm"
+ type: FLOAT32
+ shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operation {
+ type: "Dequantize"
+ input: "float16"
+ output: "dequantized"
+}
+operation {
+ type: "Add"
+ input: "ifm"
+ input: "dequantized"
+ output: "ofm"
+ add_options {
+ activation: NONE
+ }
+}
+input: "ifm"
+output: "ofm"