Skip to content

Commit eecbdf8

Browse files
committed
remove print statement
1 parent 5ac3909 commit eecbdf8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

smdebug/tensorflow/keras.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ def unwrap(func):
11051105

11061106
def close(self):
11071107
self._cleanup()
1108-
print("\nStep Number in the close function: ", self.step)
1108+
# print("\nStep Number in the close function: ", self.step)
11091109
if self.python_profiler:
11101110
# print("python profiling for end of last train step to end of training")
11111111
self.python_profiler.start_profiling(
@@ -1153,7 +1153,7 @@ def run(*args, **kwargs):
11531153
self.prepared_collections = True
11541154

11551155
self._increment_step()
1156-
print("\nStep number in the push tape: ", self.step)
1156+
# print("\nStep number in the push tape: ", self.step)
11571157

11581158
if self._get_collections_to_save_for_step():
11591159
# print('\n Collections saved for this step: ', self._get_collections_to_save_for_step())
@@ -1244,7 +1244,7 @@ def run(*args, **kwargs):
12441244
return
12451245

12461246
self.last_saved_step = self.step
1247-
print("\nStep number in the pop tape: ", self.step)
1247+
# print("\nStep number in the pop tape: ", self.step)
12481248

12491249
return run
12501250

@@ -1322,7 +1322,7 @@ def profiling_start_batch(self, mode):
13221322
if self.mode != ModeKeys.GLOBAL:
13231323
self.mode_steps[ModeKeys.GLOBAL] = self.step
13241324

1325-
print("Step Number in start train batch: ", self.mode_steps[mode])
1325+
# print("Step Number in start train batch: ", self.mode_steps[mode])
13261326

13271327
self.profiler_config_parser.load_config()
13281328

@@ -1385,7 +1385,7 @@ def profiling_end_batch(self, mode):
13851385
"""
13861386
Enabling profiler at the end of train batch when native tf2 training is used.
13871387
"""
1388-
print("Step Number in end train batch: ", self.mode_steps[mode])
1388+
# print("Step Number in end train batch: ", self.mode_steps[mode])
13891389

13901390
if self._is_not_supported():
13911391
return
@@ -1421,7 +1421,7 @@ def profiling_end(self):
14211421
"""
14221422
Stop profiler at the end of training when native tf2 training is used.
14231423
"""
1424-
print("Step Number at the end of training: ", self.step)
1424+
# print("Step Number at the end of training: ", self.step)
14251425

14261426
# Unwrap the tape before closing and close the python profiling
14271427
self.close()

0 commit comments

Comments
 (0)