summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Net_InstanceNorm_005/test.rule
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowLiteRecipes/Net_InstanceNorm_005/test.rule')
-rw-r--r--res/TensorFlowLiteRecipes/Net_InstanceNorm_005/test.rule11
1 files changed, 11 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Net_InstanceNorm_005/test.rule b/res/TensorFlowLiteRecipes/Net_InstanceNorm_005/test.rule
new file mode 100644
index 000000000..219fbce88
--- /dev/null
+++ b/res/TensorFlowLiteRecipes/Net_InstanceNorm_005/test.rule
@@ -0,0 +1,11 @@
+# To check if this network is converted to circle InstanceNorm op
+
+RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1
+
+RULE "INSTANCE_NORM_EXIST" $(op_count INSTANCE_NORM) '=' 1
+RULE "NO_ADD" $(op_count ADD) '=' 0
+RULE "NO_SQRT" $(op_count SQRT) '=' 0
+RULE "NO_DIV" $(op_count DIV) '=' 0
+RULE "NO_SUB" $(op_count SUB) '=' 0
+RULE "NO_SQUARE" $(op_count SQUARE) '=' 0
+RULE "NO_MEAN" $(op_count MEAN) '=' 0