Skip to content

Commit

Permalink
Update lookahead.py
Browse files Browse the repository at this point in the history
Inital fix of 
#2094
#2102
  • Loading branch information
bhack authored Aug 27, 2020
1 parent 6329e1a commit 0a57c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow_addons/optimizers/lookahead.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(
self._set_hyper("sync_period", sync_period)
self._set_hyper("slow_step_size", slow_step_size)
self._initialized = False
self._track_trackable(self._optimizer, 'base_optimizer')

def _create_slots(self, var_list):
self._optimizer._create_slots(
Expand Down

0 comments on commit 0a57c39

Please sign in to comment.