aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/events_writer.h
diff options
context:
space:
mode:
authorGravatar Manjunath Kudlur <keveman@gmail.com>2015-11-25 08:48:47 -0800
committerGravatar Manjunath Kudlur <keveman@gmail.com>2015-11-25 08:48:47 -0800
commit854f49bd43588c062b046384f239f64a3d819702 (patch)
treec2373bf71ef65ae4c116ea703947141281c1eace /tensorflow/core/util/events_writer.h
parent9c3043ff3bf31a6a81810b4ce9e87ef936f1f529 (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.h4
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