-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
Scatter update variable in TF optimizer #19281
Labels
type:feature
The user is asking for a new feature.
Comments
sachinprasadhs
added
type:feature
The user is asking for a new feature.
keras-team-review-pending
Pending review by a Keras team member.
labels
Mar 12, 2024
mattdangerw
removed
the
keras-team-review-pending
Pending review by a Keras team member.
label
Mar 14, 2024
hertschuh
added a commit
to hertschuh/keras
that referenced
this issue
Mar 14, 2024
This should have been added as part of keras-team#18692 as it was added in the super class: https://github.com/keras-team/keras/blob/master/keras/optimizers/base_optimizer.py#L222 Fixes keras-team#19281
hertschuh
added a commit
to hertschuh/keras
that referenced
this issue
Mar 14, 2024
This should have been added along with `scatter_add` and `scatter_sub` as part of keras-team#18692 as it was added in the super class: https://github.com/keras-team/keras/blob/master/keras/optimizers/base_optimizer.py#L222 Fixes keras-team#19281
fchollet
pushed a commit
that referenced
this issue
Mar 14, 2024
…19313) This should have been added along with `scatter_add` and `scatter_sub` as part of #18692 as it was added in the super class: https://github.com/keras-team/keras/blob/master/keras/optimizers/base_optimizer.py#L222 Fixes #19281
@shkarupa-alex , thanks for the report. This was an omission. The fix is in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In TensorFlow there is a cool (fast) variable update operation - scatter_update (like "assign" for dense variables).
It would be cool if you override assign operation for such cases (i think it should looks like https://github.com/keras-team/keras/blob/master/keras/backend/tensorflow/optimizer.py#L45 )
P.S.
Found such case during migration of Keras v2 custom optimizer.
The text was updated successfully, but these errors were encountered: