[tf2circle-dredd-pbtxt-test] adding rule files for NET_0025 and NET_0030 (#8786)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Wed, 6 Nov 2019 05:30:10 +0000 (14:30 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 6 Nov 2019 05:30:10 +0000 (14:30 +0900)
* [tf2circle-dredd-pbtxt-test] adding rule files for NET_0025 and NET_0030

This adds two rule files in for NET_0025 and NET_0030. This will be used to test circle files.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* fix rule name

* remove commnent

* Update res/TensorFlowTests/NET_0025/test.circle_rule

OMG. Thanks. :-)

Co-Authored-By: hyunsik-yoon <hyunsik.yoon@samsung.com>
res/TensorFlowTests/NET_0025/test.circle_rule [new file with mode: 0644]
res/TensorFlowTests/NET_0030/test.circle_rule [new file with mode: 0644]

diff --git a/res/TensorFlowTests/NET_0025/test.circle_rule b/res/TensorFlowTests/NET_0025/test.circle_rule
new file mode 100644 (file)
index 0000000..fc3f7af
--- /dev/null
@@ -0,0 +1,8 @@
+# tf2circle-dredd-pbtxt-test against CBR fusion
+
+RULE    "VERIFY_FILE_FORMAT"      $(verify_file_format) '=' 1  # 1 means verification is OK
+
+RULE    "ALL_OP_COUNT"            $(all_op_count) '=' 1
+RULE    "OP_COUNT_CONV2D"         $(op_count CONV_2D) '=' 1
+RULE    "WEIGHT_CONST"            $(conv2d_weight_not_constant) '=' 0
+RULE    "FILE_SIZE"               $(file_size) '<' 1040   # As of 191105, file size is 1016
diff --git a/res/TensorFlowTests/NET_0030/test.circle_rule b/res/TensorFlowTests/NET_0030/test.circle_rule
new file mode 100644 (file)
index 0000000..9f14051
--- /dev/null
@@ -0,0 +1,7 @@
+# tf2circle-dredd-pbtxt-test against two Concat ops with same axis
+
+RULE    "VERIFY_FILE_FORMAT"      $(verify_file_format) '=' 1  # 1 means verification is OK
+
+RULE    "ALL_OP_COUNT"            $(all_op_count) '=' 1
+RULE    "OP_COUNT_CONCATENATION"  $(op_count CONCATENATION) '=' 1
+RULE    "FILE_SIZE"               $(file_size) '<=' 650      # real size is 616 as of 191105