8000 tensor.extract kernel should respect padding · Issue #1692 · google/heir · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tensor.extract kernel should respect padding #1692

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

Open
j2kun opened this issue Apr 9, 2025 · 0 comments
Open

tensor.extract kernel should respect padding #1692

j2kun opened this issue Apr 9, 2025 · 0 comments

Comments

@j2kun
Copy link
Collaborator
j2kun commented Apr 9, 2025

The kernel added in #1689 preserves the result alignment attr, but the kernel creates a 1-hot vector with the extracted scalar in slot 0. The layout propagation should be aware of this and either set padding in the alignment appropriately, or else the kernel should apply repetition.

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

No branches or pull requests

1 participant
0