-
Notifications
You must be signed in to change notification settings - Fork 310
Added Kernel and Bias Initializers to Encoder and Decoder #50
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
Conversation
|
Hey @chenmoneygithub @mattdangerw |
chenmoneygithub
left a comment
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.
Thanks for the PR! Mainly looks good, left some comments on style.
mattdangerw
left a comment
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.
Left some comments for decoder, please mirror the changes to encoder as well. Thank you!
…into initializerWork
|
Hi @mattdangerw @chenmoneygithub |
mattdangerw
left a comment
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.
A couple last comments, but LGTM pending these changes.
chenmoneygithub
left a comment
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.
Thanks!
|
@aflah02 looks like there's some too long lines, blocking the lint check. Fix those up and we can merge. You should be able to run ./scripts/lint.sh without errors. |
|
@mattdangerw Done, I also noticed there was a minor typo and |
|
Thanks! |
) * Added Kernel and Bias Initializer to decoder * Added Initializer to Encoder and Decoder * Added Initializers to Expected Test Config * Added Serialized Version to Config, Added New Test * Fixed Docstring for Encoder and Decoder * Changed initializer import to keras.initializer * Removed Redudant Test From Encoder and Decoder * Changed Default to Glorot Uniform and Zeros * Ensure friendly error if bad arg on layer creation * Ran Black Formatter * Fixed Serialization Bug and Reran Black * Added Additional Tests for Testing Value Error * Keeping Attribute Set. From Const. Arg. Together * New test for Value Error if Invalid Initializer * Ran format and lint * Fixed typo and also lines exceeding max length
Fixes - #48
I've added the required parameters for the encoder and decoder and also added 2 new tests to check the config files generated. I've also added relevant docstrings in the encoder and decoder files