anijain2305 opened a new pull request #7009:
URL: https://github.com/apache/tvm/pull/7009


   @kevinthesun @zhiics @giuseros 
   
   TFLite prequantized Resent model was failing to compile. I found that the 
pad calculation introduce int64 datatype in the shape of max pool2d, that later 
causes issues with tensorization. Int64 was introduced because of the 
calculation between python int and np.int32, which results in np.int64. This PR 
ensures that all the padding calculations happen in python int.
   
   Additionally, I have added a small check to print i64 in AsText. This helped 
in identifying which op was introducing the int64 datatype.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to