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

remove size_scattering kwarg from scattering1d #837

Merged
merged 2 commits into from
Jun 5, 2022

Conversation

lostanlen
Copy link
Collaborator

Fixes #836

One kwarg less from scattering1d in base_frontend.py`
Fewer LOCs, fewer repetitions

@codecov-commenter
Copy link

codecov-commenter commented Jun 5, 2022

Codecov Report

Merging #837 (f130c57) into dev (df87489) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #837      +/-   ##
==========================================
+ Coverage   88.03%   88.05%   +0.02%     
==========================================
  Files          64       64              
  Lines        2323     2311      -12     
==========================================
- Hits         2045     2035      -10     
+ Misses        278      276       -2     
Flag Coverage Δ
jenkins_main 88.05% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
kymatio/scattering1d/core/scattering1d.py 95.94% <ø> (ø)
kymatio/scattering1d/frontend/numpy_frontend.py 65.85% <ø> (-0.82%) ⬇️
...matio/scattering1d/frontend/tensorflow_frontend.py 66.66% <ø> (-0.73%) ⬇️
kymatio/scattering1d/frontend/torch_frontend.py 92.50% <ø> (-0.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df87489...f130c57. Read the comment docs.

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.

Does the Keras tests pass?

Edit; Ok, I see, this is just doing a removal of an unused variable.

kymatio/scattering1d/core/scattering1d.py Outdated Show resolved Hide resolved
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.

I approve these changes.

@lostanlen
Copy link
Collaborator Author

OK, please merge at your convenience.
(preferably soon since i'd like to rebase #839 and work on removing vectorize)

@MuawizChaudhary
Copy link
Collaborator

This passes the checks and it passes the test on my local system. I'm squashing and merging.

@MuawizChaudhary MuawizChaudhary merged commit 45afade into kymatio:dev Jun 5, 2022
lostanlen added a commit to lostanlen/kymatio that referenced this pull request Jun 5, 2022
@lostanlen lostanlen deleted the fix-836 branch June 25, 2022 17:11
eickenberg pushed a commit that referenced this pull request Jul 5, 2022
* remove `size_scattering` kwarg from `scattering1d`

Fixes #836

* dictionaries over several lines

as requested by @MuawizChaudhary
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.

3 participants