diff --git a/res/TensorFlowLiteRecipes/Inf_Mul_000/test.recipe b/res/TensorFlowLiteRecipes/Inf_Mul_000/test.recipe new file mode 100644 index 00000000000..43c84226068 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Inf_Mul_000/test.recipe @@ -0,0 +1,30 @@ +operand { + name: "ifm1" + type: FLOAT32 + shape { dim: 1 dim: 1 dim: 1 dim: 1 } + shape_signature { dim: 1 dim: 1 dim: -1 dim: -1} +} +operand { + name: "ifm2" + type: FLOAT32 + shape { dim: 1 dim: 1 dim: 4 dim: 1} + shape_signature { dim: 1 dim: -1 dim: 4 dim: -1} +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 1 dim: 4 dim: 1 } + shape_signature { dim: 1 dim: -1 dim: 4 dim: -1} +} +operation { + type: "Mul" + input: "ifm1" + input: "ifm2" + output: "ofm" + mul_options { + activation: NONE + } +} +input: "ifm1" +input: "ifm2" +output: "ofm" diff --git a/res/TensorFlowLiteRecipes/Inf_Mul_000/test.rule b/res/TensorFlowLiteRecipes/Inf_Mul_000/test.rule new file mode 100644 index 00000000000..50009329484 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Inf_Mul_000/test.rule @@ -0,0 +1,5 @@ +# To check if dynamic dimension properly inferred + +RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1 + +RULE "MUL_SHAPE" $(tensor_shape ofm) '=' [1,-1,4,-1]