-
Notifications
You must be signed in to change notification settings - Fork 181
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
[ENH] Test coverage for AEAttentionBiGRUNetwork Improved #2540
base: main
Are you sure you want to change the base?
Conversation
Thank you for contributing to
|
Refer issue #2560 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments applies to pretty much all functions, instead of asserting the instance type, I would rather assert the values the test functions are meant to be checking. Is it possible?
assert isinstance(encoder, tf.keras.models.Model) | ||
assert isinstance(decoder, tf.keras.models.Model) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way to test that the latent_space_dim
in the produced network has the desired value instead of simply testing the instance type ?
assert isinstance(encoder, tf.keras.models.Model) | ||
assert isinstance(decoder, tf.keras.models.Model) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise here, could we rather check the number of layers in the produced network ?
Reference Issues/PRs
Contributes to #2497. Reference PRs #2518 and #2534.
What does this implement/fix? Explain your changes.
The given issue improvises the test coverage of AEAttentionBiGRUNetwork class.
Does your contribution introduce a new dependency? If yes, which one?
No.
Any other comments?
No.
PR checklist
For all contributions
For new estimators and functions
__maintainer__
at the top of relevant files and want to be contacted regarding its maintenance. Unmaintained files may be removed. This is for the full file, and you should not add yourself if you are just making minor changes or do not want to help maintain its contents.For developers with write access