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

Method _close_writers

tensorflow/python/keras/callbacks.py:1558–1566  ·  view source on GitHub ↗

Close all remaining open file writers owned by this callback. If there are no such file writers, this is a no-op.

(self)

Source from the content-addressed store, hash-verified

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.

Callers 2

set_modelMethod · 0.95
on_train_endMethod · 0.95

Calls 2

closeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected