diff options
author | 2015-11-25 08:48:47 -0800 | |
---|---|---|
committer | 2015-11-25 08:48:47 -0800 | |
commit | 854f49bd43588c062b046384f239f64a3d819702 (patch) | |
tree | c2373bf71ef65ae4c116ea703947141281c1eace /tensorflow/core/util/events_writer.h | |
parent | 9c3043ff3bf31a6a81810b4ce9e87ef936f1f529 (diff) |
TensorFlow: Upstream changes to git
Changes:
- Updates to docs
- Several changes for Python 3 compatibility
- Added license headers
Base CL: 108710566
Diffstat (limited to 'tensorflow/core/util/events_writer.h')
-rw-r--r-- | tensorflow/core/util/events_writer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/util/events_writer.h b/tensorflow/core/util/events_writer.h index 59488ef407..14f2594a28 100644 --- a/tensorflow/core/util/events_writer.h +++ b/tensorflow/core/util/events_writer.h @@ -61,8 +61,8 @@ class EventsWriter { // Append "event_str", a serialized Event, to the file. // Note that this function does NOT check that de-serializing event_str - // results in a valid Event proto. - void WriteSerializedEvent(const string& event_str); + // results in a valid Event proto. The tensorflow:: bit makes SWIG happy. + void WriteSerializedEvent(tensorflow::StringPiece event_str); // EventWriter automatically flushes and closes on destruction, but // these two methods are provided for users who want to write to disk sooner |