MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / WriteEvent

Method WriteEvent

tensorflow/core/util/events_writer.cc:118–122  ·  view source on GitHub ↗

NOTE(touts); This is NOT the function called by the Python code. Python calls WriteSerializedEvent(), see events_writer.i.

Source from the content-addressed store, hash-verified

116// NOTE(touts); This is NOT the function called by the Python code.
117// Python calls WriteSerializedEvent(), see events_writer.i.
118void EventsWriter::WriteEvent(const Event& event) {
119 string record;
120 event.AppendToString(&record);
121 WriteSerializedEvent(record);
122}
123
124Status EventsWriter::Flush() {
125 if (num_outstanding_events_ == 0) return Status::OK();

Callers 7

testWriteEventsMethod · 0.95
runMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
WriteSimpleValueFunction · 0.45

Calls

no outgoing calls

Tested by 3

testWriteEventsMethod · 0.76
WriteSimpleValueFunction · 0.36