Skip to content

Commit

Permalink
... update e t c
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 353000226
  • Loading branch information
w-xinyi authored and tensorflower-gardener committed Jan 21, 2021
1 parent 9941536 commit 84806ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras/optimizer_v2/optimizer_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ def apply_gradients(self,
grads_and_vars = self._aggregate_gradients(grads_and_vars)
grads_and_vars = self._transform_gradients(grads_and_vars)

# TODO(wxinyi)
return tf.distribute.get_replica_context().merge_call(
functools.partial(self._distributed_apply, apply_state=apply_state),
args=(grads_and_vars,),
Expand Down

0 comments on commit 84806ce

Please sign in to comment.