Skip to content

[TOPI] Support integer type input for log10 #18015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2025
Merged

Conversation

jikechao
Copy link
Contributor

@jikechao jikechao commented May 26, 2025

Adds support for integer inputs in topi.log10 by automatically converting them to float32, aligning with NumPy's implicit float promotion behavior.

Fix #17996

cc @Hzfengsy @masahi @yongwww @tqchen

@Hzfengsy Hzfengsy merged commit cac6ff8 into apache:main May 29, 2025
11 checks passed
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.

[Bug] Cannot find intrinsic declaration, possible type mismatch: llvm.log10
2 participants