Skip to content

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented May 14, 2025

This PR updates the Any system to distinguish as and cast

  • as function will run strict check and won't do any type conversion
  • try_cast/cast will try to run the type conversion

We also updated the type traits to be consistent with the naming

@tqchen
Copy link
Member Author

tqchen commented May 14, 2025

cc @spectrometerHBH

This PR updates the Any system to distinguish as and cast

- as function will run strict check and won't do any type conversion
- try_cast/cast will try to run the type conversion

We also updated the type traits to be consistent with the naming
@Hzfengsy Hzfengsy merged commit 9aa5bf7 into apache:main May 15, 2025
12 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
This PR updates the Any system to distinguish as and cast

- as function will run strict check and won't do any type conversion
- try_cast/cast will try to run the type conversion

We also updated the type traits to be consistent with the naming
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
This PR updates the Any system to distinguish as and cast

- as function will run strict check and won't do any type conversion
- try_cast/cast will try to run the type conversion

We also updated the type traits to be consistent with the naming
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
This PR updates the Any system to distinguish as and cast

- as function will run strict check and won't do any type conversion
- try_cast/cast will try to run the type conversion

We also updated the type traits to be consistent with the naming
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
This PR updates the Any system to distinguish as and cast

- as function will run strict check and won't do any type conversion
- try_cast/cast will try to run the type conversion

We also updated the type traits to be consistent with the naming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants