MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / close

Method close

tensorboard/summary/_writer.py:64–68  ·  view source on GitHub ↗

Closes the writer and prevents further use.

(self)

Source from the content-addressed store, hash-verified

62 self._output.flush()
63
64 def close(self):
65 """Closes the writer and prevents further use."""
66 self._check_not_closed()
67 self._output.close()
68 self._closed = True
69
70 def add_scalar(self, tag, data, step, *, wall_time=None, description=None):
71 """Adds a scalar summary.

Callers 15

test_real_directoryMethod · 0.95
test_closeMethod · 0.95
test_real_directoryMethod · 0.95
test_after_closeMethod · 0.95
startFunction · 0.45
convert_scalarsFunction · 0.45
convert_tensorsFunction · 0.45
convert_blobsFunction · 0.45
WriteImageSeriesFunction · 0.45
WriteAudioSeriesFunction · 0.45

Calls 1

_check_not_closedMethod · 0.95

Tested by 15

test_real_directoryMethod · 0.76
test_closeMethod · 0.76
test_real_directoryMethod · 0.76
test_after_closeMethod · 0.76
WriteImageSeriesFunction · 0.36
WriteAudioSeriesFunction · 0.36
GenerateTestDataFunction · 0.36
write_mesh_eventMethod · 0.36
write_mesh_eventMethod · 0.36
image_eventMethod · 0.36