diff options
Diffstat (limited to 'res/TensorFlowLiteRecipes/HardSwish_001/test.rule')
-rw-r--r-- | res/TensorFlowLiteRecipes/HardSwish_001/test.rule | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/HardSwish_001/test.rule b/res/TensorFlowLiteRecipes/HardSwish_001/test.rule new file mode 100644 index 000000000..6970e2628 --- /dev/null +++ b/res/TensorFlowLiteRecipes/HardSwish_001/test.rule @@ -0,0 +1,8 @@ +# To check if HardSwish is converted to Add, Mul and Relu6 operations + +RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1 + +RULE "ADD_EXIST" $(op_count ADD) '=' 1 +RULE "MUL_EXIST" $(op_count MUL) '=' 2 +RULE "RELU6_EXIST" $(op_count RELU6) '=' 1 +RULE "HARDSWISH_NOT_EXIST" $(op_count HARDSWISH) '=' 0 |