Close all remaining open file writers owned by this callback. If there are no such file writers, this is a no-op.
(self)
| 1556 | projector.visualize_embeddings(writer, config) |
| 1557 | |
| 1558 | def _close_writers(self): |
| 1559 | """Close all remaining open file writers owned by this callback. |
| 1560 | |
| 1561 | If there are no such file writers, this is a no-op. |
| 1562 | """ |
| 1563 | with context.eager_mode(): |
| 1564 | for writer in six.itervalues(self._writers): |
| 1565 | writer.close() |
| 1566 | self._writers.clear() |
| 1567 | |
| 1568 | def _get_writer(self, writer_name): |
| 1569 | """Get a summary writer for the given subdirectory under the logdir. |
no test coverage detected