Home
last modified time | relevance | path

Searched refs:EventsWriter (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Devents_writer.cc33 EventsWriter::EventsWriter(const string& file_prefix) in EventsWriter() function in tensorflow::EventsWriter
39 EventsWriter::~EventsWriter() { in ~EventsWriter()
43 Status EventsWriter::Init() { return InitWithSuffix(""); } in Init()
45 Status EventsWriter::InitWithSuffix(const string& suffix) { in InitWithSuffix()
50 Status EventsWriter::InitIfNeeded() { in InitIfNeeded()
98 string EventsWriter::FileName() { in FileName()
105 void EventsWriter::WriteSerializedEvent(StringPiece event_str) { in WriteSerializedEvent()
118 void EventsWriter::WriteEvent(const Event& event) { in WriteEvent()
124 Status EventsWriter::Flush() { in Flush()
139 Status EventsWriter::Close() { in Close()
[all …]
Devents_writer_test.cc38 void WriteSimpleValue(EventsWriter* writer, double wall_time, int64 step, in WriteSimpleValue()
49 void WriteFile(EventsWriter* writer) { in WriteFile()
81 strings::StrCat(EventsWriter::kVersionPrefix, in VerifyFile()
82 EventsWriter::kCurrentVersion)); in VerifyFile()
113 EventsWriter writer(file_prefix); in TEST()
122 EventsWriter writer(file_prefix); in TEST()
131 EventsWriter* writer = new EventsWriter(file_prefix); in TEST()
140 EventsWriter writer(file_prefix); in TEST()
150 EventsWriter writer(file_prefix); in TEST()
160 EventsWriter writer(file_prefix); in TEST()
[all …]
Devents_writer.h31 class EventsWriter {
47 explicit EventsWriter(const std::string& file_prefix);
48 ~EventsWriter();
93 TF_DISALLOW_COPY_AND_ASSIGN(EventsWriter);
/external/tensorflow/tensorflow/python/client/
Devents_writer_wrapper.cc27 py::class_<tensorflow::EventsWriter> events_writer_class(m, "EventsWriter"); in PYBIND11_MODULE()
30 [](tensorflow::EventsWriter& self, const std::string& suffix) { in PYBIND11_MODULE()
34 [](tensorflow::EventsWriter& self) { return self.FileName(); }) in PYBIND11_MODULE()
36 [](tensorflow::EventsWriter& self, const std::string& event_str) { in PYBIND11_MODULE()
39 .def("Flush", [](tensorflow::EventsWriter& self) { return self.Flush(); }) in PYBIND11_MODULE()
40 .def("Close", [](tensorflow::EventsWriter& self) { return self.Close(); }) in PYBIND11_MODULE()
42 [](tensorflow::EventsWriter& self, const py::object obj) { in PYBIND11_MODULE()
Devents_writer_test.py37 writer = _pywrap_events_writer.EventsWriter(compat.as_bytes(file_prefix))
77 _pywrap_events_writer.EventsWriter(b"foo").WriteEvent(_Invalid())
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer.cc49 tensorflow::MakeUnique<EventsWriter>(io::JoinPath(logdir, "events")); in Initialize()
177 std::unique_ptr<EventsWriter> events_writer_ TF_GUARDED_BY(mu_);
/external/tensorflow/tensorflow/python/eager/
Dprofiler.py131 event_writer = _pywrap_events_writer.EventsWriter(
/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dsave_profile.cc112 EventsWriter event_writer(ProfilerJoinPath(logdir, "events")); in MaybeCreateEmptyEventFile()
/external/tensorflow/tensorflow/python/summary/writer/
Devent_file_writer.py77 self._ev_writer = _pywrap_events_writer.EventsWriter(