jwfromm opened a new pull request #8022: URL: https://github.com/apache/tvm/pull/8022
The current alter_op function for `strided_slice` ends up recasting `begin` and `end` to `Int32` due that being the default dtype of new `Integer`s. However, some frontends like Onnx use the max value of `int64` to represent getting the all values along an axis. This max value gets miscast to `-1` when converted to Int32, which leads to shape mismatches. This PR fixes the issue. I also ran into one totally unrelated issue in `conv2d` alter_op where padding was being checked incorrectly and snuck that into this PR since its pretty tiny. -- 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]
