FrozenGene opened a new pull request #7456:
URL: https://github.com/apache/tvm/pull/7456


   Almost work is done by @Fwd-IV Thanks! I just port it from 
https://github.com/apache/tvm/pull/4828. 
   
   Some other import changes should be noticed is in the rewrite_simplify.cc / 
canonical_simplify.cc. We introduce expression complexity to determine whether 
we should do these optimizations. After introducing tflite rounding, we will 
have complex expressions, like this:
   
![image](https://user-images.githubusercontent.com/7287321/107876111-eb198980-6efe-11eb-96b3-858693cbc4bf.png)
   
   If we don't disable this , we even can not compile whole mobilenet v2 
quantized model successfully.
   
   This is also initial support for TFLite bit extract comparison . I think we 
have more work to do for more models.
    
   
   Co-author-by: @Fwd-IV 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to