Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesqiao committed Jan 13, 2018
1 parent f5beb0a commit 92cf4fa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions visualdl/python/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

class LogReader(object):
"""LogReader is a Python wrapper to read and analysis the data that
saved with data format defined in storage.proto. Scalar/Image/Histogram
are all read by this module.
saved with data format defined in storage.proto. user can get
Scalar Reader/Image Reader/Histogram Reader from this module and use
them to reade the data you need.
"""

def __init__(self, dir, reader=None):
Expand Down Expand Up @@ -92,8 +93,8 @@ def __exit__(self, type, value, traceback):

class LogWriter(object):
"""LogWriter is a Python wrapper to write data to log file with the data
format defined in storage.proto. It support to write Scalar/Image/Histogram
data
format defined in storage.proto. user can get Scalar Reader/Image Reader/
Histogram Reader from this module and use them to write the data to log file.
"""

cur_mode = None
Expand Down

0 comments on commit 92cf4fa

Please sign in to comment.