From 16d64037cc769a8c93a3423c1e7cffcf6d66ea0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 6 Nov 2019 14:30:10 +0900 Subject: [PATCH] [tf2circle-dredd-pbtxt-test] adding rule files for NET_0025 and NET_0030 (#8786) * [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 * fix rule name * remove commnent * Update res/TensorFlowTests/NET_0025/test.circle_rule OMG. Thanks. :-) Co-Authored-By: hyunsik-yoon --- res/TensorFlowTests/NET_0025/test.circle_rule | 8 ++++++++ res/TensorFlowTests/NET_0030/test.circle_rule | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 res/TensorFlowTests/NET_0025/test.circle_rule create mode 100644 res/TensorFlowTests/NET_0030/test.circle_rule diff --git a/res/TensorFlowTests/NET_0025/test.circle_rule b/res/TensorFlowTests/NET_0025/test.circle_rule new file mode 100644 index 0000000..fc3f7af --- /dev/null +++ b/res/TensorFlowTests/NET_0025/test.circle_rule @@ -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 index 0000000..9f14051 --- /dev/null +++ b/res/TensorFlowTests/NET_0030/test.circle_rule @@ -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 -- 2.7.4