Skip to content

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

Merged
MuawizChaudhary merged 1 commit intokymatio:devfrom
lostanlen:fix-852
Jun 9, 2022
Merged

avoid passing log2_T, pad, unpad to 1D core#860
MuawizChaudhary merged 1 commit intokymatio:devfrom
lostanlen:fix-852

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