Skip to content

Add aten::pixel_shuffle.out portable variant #351

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

Closed
wants to merge 1 commit into from
Closed

Add aten::pixel_shuffle.out portable variant #351

wants to merge 1 commit into from

Conversation

dulinriley
Copy link
Contributor

Summary:
The executorch portable runtime was missing an implementation of aten::pixel_shuffle.out,
which is used by the PiCA decoder.

This is basically just a reshape operator, and I adapted the implementation from
aten's PixelShuffleKernel.cpp after not using some helper functions that don't exist.

I don't know much about how to make a more optimized implementation, or if there's a way
to use parallelism automatically like the normal aten kernels do.

Reviewed By: manuelcandales

Differential Revision: D49173297

Summary:
The executorch portable runtime was missing an implementation of `aten::pixel_shuffle.out`,
which is used by the PiCA decoder.

This is basically just a reshape operator, and I adapted the implementation from
aten's `PixelShuffleKernel.cpp` after not using some helper functions that don't exist.

I don't know much about how to make a more optimized implementation, or if there's a way
to use parallelism automatically like the normal aten kernels do.

Reviewed By: manuelcandales

Differential Revision: D49173297
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 14, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49173297

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1315a92.

@dulinriley dulinriley deleted the export-D49173297 branch September 23, 2023 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants