diff options
Diffstat (limited to 'res/TensorFlowLiteRecipes/Quant_TransposeConv_001/test.rule')
-rw-r--r-- | res/TensorFlowLiteRecipes/Quant_TransposeConv_001/test.rule | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Quant_TransposeConv_001/test.rule b/res/TensorFlowLiteRecipes/Quant_TransposeConv_001/test.rule new file mode 100644 index 000000000..ffa3bc906 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Quant_TransposeConv_001/test.rule @@ -0,0 +1,13 @@ +# To check mixed quantization. +# Default dtype: S16, Target Op dtype: U8 +# Quantize Ops are inserted at the beginning/end of the model. + +RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1 + +RULE "IFM_S16" $(tensor_dtype ifm) '=' INT16 +RULE "IFM_QUANTIZE_U8" $(tensor_dtype ifm_Quantize) '=' UINT8 +RULE "KER_U8" $(tensor_dtype ker) '=' UINT8 +RULE "BIAS_S32" $(tensor_dtype bias) '=' INT32 +RULE "TARGET_U8" $(tensor_dtype ofm) '=' UINT8 +RULE "OUTPUT_S16" $(tensor_dtype ofm_Quantize) '=' INT16 +RULE "QUANTIZE_OP" $(op_count QUANTIZE) '=' 2 |