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

Unify logic for detecting pixelshuffle #249

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

RunDevelopment
Copy link
Member

SwinIR-like Upsample is fairly common, because many architectures derive some of their code from SwinIR. This PR adds a util method to detect the parameters of Upsample and replaces the same logic in many arches with calls to the util function.

@joeyballentine joeyballentine merged commit fe9ecc5 into main May 6, 2024
8 checks passed
@joeyballentine joeyballentine deleted the uni-pixelshuffle branch May 6, 2024 15:44
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