[TensorFlowLiteRecipes] Add test.rule to Net_TConv_BN_000 (#3959)
authorseongwoo chae <mhs4670go@naver.com>
Tue, 25 Aug 2020 01:56:19 +0000 (10:56 +0900)
committerGitHub <noreply@github.com>
Tue, 25 Aug 2020 01:56:19 +0000 (10:56 +0900)
This commit adds test.rule to Net_TConv_BN_000.

ONE-DCO-1.0-Signed-off-by: seongwoo <mhs4670go@naver.com>

res/TensorFlowLiteRecipes/Net_TConv_BN_000/test.rule [new file with mode: 0644]

diff --git a/res/TensorFlowLiteRecipes/Net_TConv_BN_000/test.rule b/res/TensorFlowLiteRecipes/Net_TConv_BN_000/test.rule
new file mode 100644 (file)
index 0000000..0988ecf
--- /dev/null
@@ -0,0 +1,7 @@
+# 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    "NO_MUL"                  $(op_count MUL) '=' 0
+RULE    "NO_ADD"                  $(op_count ADD) '=' 0