summaryrefslogtreecommitdiff
path: root/res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule')
-rw-r--r--res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule b/res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule
new file mode 100644
index 000000000..bff2459a1
--- /dev/null
+++ b/res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule
@@ -0,0 +1,7 @@
+# To check tf2circle's result has Squared Difference Op, not divided into Sub and Div.
+
+RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1
+
+RULE "SQUARED_DIFF_EXIST" $(op_count SQUARED_DIFFERENCE) '=' 1
+RULE "NO_SUB_EXIST" $(op_count SUB) '=' 0
+RULE "NO_MUL_EXIST" $(op_count MUL) '=' 0