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

avoid passing log2_T, pad, unpad to 1D core #860

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

lostanlen
Copy link
Collaborator

Fixes #852

a lighter and better focused version of #855

unfortunately the same thing cannot be done in 2D right now because the logic is quite different: self.pad is a backend function which is being defined at build time and takes self.shape as input. It also depends upon a parameter pre_pad. It's almost like an object inside the Scattering2D object.

Next step for me is to remove pad_left and friends and perform padding/unpadding outside of scattering. We've discussed a plan with @MuawizChaudhary for that. (in the spirit of #735 )

Copy link
Collaborator

@MuawizChaudhary MuawizChaudhary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging.

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