From d0719c38635040fd08cd68898968900cb60ee9c2 Mon Sep 17 00:00:00 2001 From: Chunseok Lee Date: Fri, 25 Oct 2024 10:30:39 +0900 Subject: [PATCH] [res] test.rule for Decomposed GRU recipe - Add rule.test for dredd test of fuse_gru pass ONE-DCO-1.0-Signed-off-by: Chunseok Lee --- .../Net_Decomposed_GRU_000/test.rule | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 res/TensorFlowLiteRecipes/Net_Decomposed_GRU_000/test.rule diff --git a/res/TensorFlowLiteRecipes/Net_Decomposed_GRU_000/test.rule b/res/TensorFlowLiteRecipes/Net_Decomposed_GRU_000/test.rule new file mode 100644 index 00000000000..65c834f29dd --- /dev/null +++ b/res/TensorFlowLiteRecipes/Net_Decomposed_GRU_000/test.rule @@ -0,0 +1,11 @@ +# To check whether tfl model is converted to circle GRU op + +RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1 + +RULE "GRU_EXIST" $(op_count GRU) '=' 1 +RULE "NO_WHILE" $(op_count WHILE) '=' 0 +RULE "NO_SPLIT" $(op_count SPLIT) '=' 0 +RULE "NO_LOGISTIC" $(op_count LOGISTIC) '=' 0 +RULE "NO_TANH" $(op_count TANH) '=' 0 +RULE "NO_GATHER" $(op_count GATHER) '=' 0 +RULE "NO_LESS" $(op_count LESS) '=' 0