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

Tests: Add helper module and complete Canonizer tests #127

Merged
merged 2 commits into from
May 2, 2022

Conversation

chr5tphr
Copy link
Owner

@chr5tphr chr5tphr commented May 2, 2022

Tests: Complete Canonizer Tests

Add tests for following classes to complete the canonizer tests:

  • NamedMergeBatchNorm
  • SequentialMergeBatchNorm
  • AttributeCanonizer
  • CompositeCanonizer

Additionally:

  • add a test to check whether Canonizer.apply is cooperative

Tests: Move helper functions to tests/helper.py

  • move helper functions to their own module in helper.py so they can be
    used by multiple test modules

- move helper functions to their own module in helper.py so they can be
  used by multiple test modules
Add tests for following classes to complete the canonizer tests:
- NamedMergeBatchNorm
- SequentialMergeBatchNorm
- AttributeCanonizer
- CompositeCanonizer

Additionally:
- add a test to check whether Canonizer.apply is cooperative
@chr5tphr chr5tphr merged commit 5739dde into master May 2, 2022
@chr5tphr chr5tphr deleted the test-canonizer-full branch May 2, 2022 09:47
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.

None yet

1 participant