Skip to content
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

[MLIR] [TOSA]: fix input index of tosa.pad folding. Improve lit tests. #77

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

ttjost
Copy link

@ttjost ttjost commented Sep 7, 2023

I stumbled upon this issue when folding a large 3D tensor. The calculation of the index when the value ISN'T a pad must come from the inputShape, and needs to be updated as well.
Because our LIT tests didn't catch this (mostly due to using single values), I also updated them to multiple values so that we don't miss anything.
Also tested internally with some huge tensor.

@ttjost ttjost force-pushed the tiagot.fix_input_index_pad_folding branch from 8fa12ca to dc3e56c Compare September 8, 2023 09:35
@mgehre-amd mgehre-amd enabled auto-merge (squash) September 8, 2023 09:43
@mgehre-amd mgehre-amd merged commit 41b2ad1 into feature/fused-ops Sep 8, 2023
1 check passed
@mgehre-amd mgehre-amd deleted the tiagot.fix_input_index_pad_folding branch September 8, 2023 09:48
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.

2 participants