[REFACTOR][RELAX] Rename Relax base type to AnyType - #19889
Conversation
There was a problem hiding this comment.
Code Review
This pull request renames ObjectType and ObjectTypeNode to AnyType and AnyTypeNode within TVM's Relax compiler, and introduces R.Any in TVM Script to replace R.Object. It also adds compatibility aliases for both C++ and Python to ensure backward compatibility with existing codebases. These changes are consistently propagated across type definitions, parser/printer components, transformation passes, and a large suite of tests. There are no review comments provided, so I have no additional feedback to offer.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This PR introduces Relax AnyType as the primary top/base type spelling, replacing the previous ObjectType naming for the type that represents any Relax value.
Changes:
Validation: