summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Net_InstanceNorm_002/test.rule
blob: d6e47712fd83c7d3dfe8b21a61bc4532e564d257 (plain)
1
2
3
4
5
6
7
8
# To check if custom op InstanceNorm is converted to circle builtin op

RULE    "VERIFY_FILE_FORMAT"      $(verify_file_format) '=' 1

RULE    "INSTANCE_NORM_EXIST"     $(op_count INSTANCE_NORM) '=' 1
RULE    "RESHAPE_EXIST"           $(op_count RESHAPE) '<=' 3
RULE    "NO_ADD"                  $(op_count ADD) '=' 0
RULE    "NO_MUL"                  $(op_count MUL) '=' 0