merrymercy opened a new pull request #7030: URL: https://github.com/apache/tvm/pull/7030
I found some shapes and parameters (padding) are converted to int64 from tflite frontend. It will result in a placeholder shape be `[1, (int64) 112, (int64) 112, 64]`. Some of them are int32, the others are int32. This fails some optimization in the auto-scheduler. This is because `ShapeAsNumpy` returns `np.int32`, but it is automatically upcasted to `np.int64` when doing computation. We convert all `np.int32` to python's int to prevent this auto upcast. ---------------------------------------------------------------- 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]
