Skip to content

[tosa] Update torch.aten.upsample_nearest2d legalization to use tosa.resize#4516

Open
Tessil wants to merge 1 commit intollvm:mainfrom
Tessil:toupstream/replace_upsample_nearest_tosa_legalization
Open

[tosa] Update torch.aten.upsample_nearest2d legalization to use tosa.resize#4516
Tessil wants to merge 1 commit intollvm:mainfrom
Tessil:toupstream/replace_upsample_nearest_tosa_legalization

Conversation

@Tessil
Copy link
Copy Markdown
Contributor

@Tessil Tessil commented Mar 27, 2026

Simplify the torch.aten.upsample_nearest2d legalization to use tosa.resize instead of a combination of tosa.gather, tosa.reduce_sum, tosa.mul and tosa.reshape.

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.

1 participant