Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Ddebug_events_writer.cc128 std::unordered_map<string, std::unique_ptr<DebugEventsWriter>>* writer_pool = in GetDebugEventsWriter() local
130 if (writer_pool->find(dump_root) == writer_pool->end()) { in GetDebugEventsWriter()
133 writer_pool->insert(std::make_pair(dump_root, std::move(writer))); in GetDebugEventsWriter()
135 return (*writer_pool)[dump_root].get(); in GetDebugEventsWriter()
142 std::unordered_map<string, std::unique_ptr<DebugEventsWriter>>* writer_pool = in LookUpDebugEventsWriter() local
144 if (writer_pool->find(dump_root) == writer_pool->end()) { in LookUpDebugEventsWriter()
148 *debug_events_writer = (*writer_pool)[dump_root].get(); in LookUpDebugEventsWriter()
470 writer_pool = in GetDebugEventsWriterMap() local
472 return writer_pool; in GetDebugEventsWriterMap()