summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Net_TConv_BN_002/test.rule
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowLiteRecipes/Net_TConv_BN_002/test.rule')
-rw-r--r--res/TensorFlowLiteRecipes/Net_TConv_BN_002/test.rule8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Net_TConv_BN_002/test.rule b/res/TensorFlowLiteRecipes/Net_TConv_BN_002/test.rule
new file mode 100644
index 000000000..dfc392758
--- /dev/null
+++ b/res/TensorFlowLiteRecipes/Net_TConv_BN_002/test.rule
@@ -0,0 +1,8 @@
+# To check if BatchNorm op(mul + add) is fused to Transposed Convolution op
+
+RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1
+
+RULE "TCONV_EXIST" $(op_count TRANSPOSE_CONV) '=' 1
+RULE "RELU6_EXIST" $(op_count RELU6) '=' 1
+RULE "NO_MUL" $(op_count MUL) '=' 0
+RULE "NO_ADD" $(op_count ADD) '=' 0