Hzfengsy opened a new pull request, #18066: URL: https://github.com/apache/tvm/pull/18066
Remove the deprecated `s` and `n` attributes from the `Constant` AST node class in the script parser. These attributes were previously used for string and numeric constants but are no longer needed in the current AST implementation. Updated all code that creates `Constant` objects to remove the corresponding parameters: - Removed `s` and `n` parameters from `Constant.__init__` - Updated `_FIELDS` list to exclude deprecated attributes - Fixed calls in `evaluator.py` and `parser.py` to remove extra arguments This change simplifies the AST structure and removes unused legacy code. -- 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]
