Skip to content

Commit e53c069

Browse files
lint
1 parent 69ce357 commit e53c069

File tree

1 file changed

+2
-2
lines changed
  • tensorflow_recommenders_addons/dynamic_embedding/python/keras

1 file changed

+2
-2
lines changed

tensorflow_recommenders_addons/dynamic_embedding/python/keras/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def _check_saveable_and_redirect_new_de_dir(hvd_rank=0):
9898
# Redirect new de_dir
9999
if hasattr(de_var, 'saveable'):
100100
de_var.saveable._saver_config.save_path = de_dir
101-
101+
102102
def _maybe_save_restrict_policy_params(de_var, proc_size=1, proc_rank=0):
103103
if not hasattr(de_var, "restrict_policy"):
104104
return
@@ -108,7 +108,7 @@ def _maybe_save_restrict_policy_params(de_var, proc_size=1, proc_rank=0):
108108
de_var.save_to_file_system(dirpath=de_dir,
109109
proc_size=proc_size,
110110
proc_rank=proc_rank)
111-
111+
112112
def _traverse_emb_layers_and_save(proc_size=1, proc_rank=0):
113113
for var in model.variables:
114114
if not hasattr(var, "params"):

0 commit comments

Comments
 (0)