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

fix(optimizer): Bug: Variable set to trainable to false still updating embedding #263

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

Lifann
Copy link
Member

@Lifann Lifann commented Jul 14, 2022

Description

Brief Description of the PR:

When set de.Variable to trainable, the optimizer will still update it, which is not expected.

Fixes # (issue)

Type of change

  • Bug fix
  • New Tutorial
  • Updated or additional documentation
  • Additional Testing
  • New Feature

Checklist:

  • I've properly formatted my code according to the guidelines
    • By running yapf
    • By running clang-format
  • This PR addresses an already submitted issue for TensorFlow Recommenders-Addons
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

How Has This Been Tested?

If you're adding a bugfix or new feature please describe the tests that you ran to verify your changes:
*

@Lifann Lifann requested a review from rhdong as a code owner July 14, 2022 13:50
@Lifann Lifann changed the title fix(optimizer): Bug: Variable set to trainable still update embedding fix(optimizer): Bug: Variable set to trainable as false still updating embedding Jul 14, 2022
@Lifann Lifann changed the title fix(optimizer): Bug: Variable set to trainable as false still updating embedding fix(optimizer): Bug: Variable set to trainable to false still updating embedding Jul 14, 2022
@Lifann Lifann force-pushed the fix-trainable-setting-unused-err branch from 9eaeba8 to b03f6ea Compare July 14, 2022 13:59
@Lifann Lifann force-pushed the fix-trainable-setting-unused-err branch from b03f6ea to f3ba3f7 Compare July 15, 2022 05:17
Copy link
Member

@rhdong rhdong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rhdong rhdong merged commit c8c73c7 into tensorflow:master Jul 18, 2022
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

2 participants