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

Function create_writer_for_run

tensorboard/tools/convert_tbdev_export.py:246–258  ·  view source on GitHub ↗
(out_dir, run, suffix)

Source from the content-addressed store, hash-verified

244
245
246def create_writer_for_run(out_dir, run, suffix):
247 # Special case: the "." run corresponds to the root directory.
248 if run == ".":
249 dir = out_dir
250 else:
251 # Convert path separators in run names to be platform-specific.
252 translated_run = run.replace("/", os.path.sep)
253 dir = os.path.join(out_dir, translated_run)
254 return EventFileWriter(
255 dir,
256 max_queue_size=1000,
257 filename_suffix=".tbdev-converter-" + suffix,
258 )
259
260
261def main():

Callers 3

convert_scalarsFunction · 0.85
convert_tensorsFunction · 0.85
convert_blobsFunction · 0.85

Calls 3

EventFileWriterClass · 0.90
replaceMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…