anusha975 opened a new pull request, #18870: URL: https://github.com/apache/tvm/pull/18870
## Summary This PR adds input type validation for `make_shape` in Relax to ensure only valid argument types are accepted. ## Changes - Added validation logic to `make_shape` - Improved error handling for invalid inputs - Added unit tests in `test_make_shape.py` to verify behavior ## Motivation Clear validation improves robustness and prevents unexpected runtime errors. It also ensures consistent behavior when invalid inputs are provided. ## Testing - Added new tests in `tests/python/relax/test_make_shape.py` - Verified tests run successfully locally Please let me know if any modifications or improvements are required. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
