-
Notifications
You must be signed in to change notification settings - Fork 614
Improve with providing Nuclear Norm Constraint #1107
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
Hello @facaiy @WindQAQ @Squadrick! Can you provide some feedback for the update of CG optimizer? Thank you! |
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.
Most of the logic for fro and nuclear norm in _resource_apply_dense
and _resource_apply_sparse
is the same except for var_slice = tf.gather(...)
. Refactoring the logic into functions would make the code more succinct and easier to read.
Yet to properly review the test code.
This comment has been minimized.
This comment has been minimized.
@googlebot I consent |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
I've merged master into your branch to update it and fixed any formatting/conflicts it might have. If you need to do some more modifications, please do |
@gabrieldemarmiesse Got it! Thank you a lot! |
@Squadrick when you have the time, could you look into this pull request? Thank you. |
@pkan2 There's a merge conflict, can you fix that? Once it's done, this should get merged. |
Hello @Squadrick . Thank you for your feedback! I have fixed the merging conflict. Thank you! |
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.
LGTM.
I'll merge this as it was approved by @Squadrick |
* Improve with providing Nuclear Norm Constraint * Update based on feedback * Update Based on Feedback * Solve Conflict * Solve Conflict * change format and fix conflict Co-authored-by: gabrieldemarmiesse <[email protected]>
Hello!
I have updated the conditional_gradient optimizer with providing the option of nuclear norm constraint option, as described in issue #1105,
with using following formula:
Thank you!