Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / res / TensorFlowLiteRecipes / HardSwish_001 / test.rule
1 # To check if HardSwish is converted to Add, Mul and Relu6 operations
2
3 RULE    "VERIFY_FILE_FORMAT"      $(verify_file_format) '=' 1
4
5 RULE    "ADD_EXIST"               $(op_count ADD) '=' 1
6 RULE    "MUL_EXIST"               $(op_count MUL) '=' 2
7 RULE    "RELU6_EXIST"             $(op_count RELU6) '=' 1
8 RULE    "HARDSWISH_NOT_EXIST"     $(op_count HARDSWISH) '=' 0