Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zuoxingdong committed Sep 4, 2018
1 parent b672e6e commit 2181bfa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lagom/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,14 @@ class Logger(logging.Logger):
>> logger.dump()
Iteration: [1, 2, 3]
Training Loss: [0.12, 0.11, 0.09]
>> logger.dump(keys=None, index=None, indent=1)
Iteration: [1, 2, 3]
Training Loss: [0.12, 0.11, 0.09]
>> logger.dump(keys=['iteration'], index=None, indent=0)
Iteration: [1, 2, 3]
>> logger.dump(keys=None, index=0, indent=0)
Iteration: 1
Training Loss: 0.12
>> logger.dump(keys=None, index=[0, 2], indent=0)
Iteration: [1, 3]
Training Loss: [0.12, 0.09]
Expand Down Expand Up @@ -131,8 +127,6 @@ def dump(self, keys=None, index=None, indent=0):
if indent > 0:
print('\t'*indent, end='') # do not create a new line

#print(keys)

# Get logged information based on index
if idx == 'all':
log_data = self.logs[key]
Expand Down

0 comments on commit 2181bfa

Please sign in to comment.