Skip to content

Commit daff6f8

Browse files
committed
revert
1 parent d40ac10 commit daff6f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

smdebug/tensorflow/base_hook.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ def _get_writers(self, tensor_name, tensor_ref) -> List[FileWriter]:
308308
def _initialize_writers(self, only_initialize_if_missing=False) -> None:
309309
# In keras, sometimes we are not sure if writer is initialized
310310
# (such as metrics at end of epoch), that's why it passes the flag only_init_if_missing
311-
self.distribution_strategy = self._get_distribution_strategy()
312311
if self.dry_run:
313312
return
314313

0 commit comments

Comments
 (0)