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

Function list

tensorboard/notebook.py:417–443  ·  view source on GitHub ↗

Print a listing of known running TensorBoard instances. TensorBoard instances that were killed uncleanly (e.g., with SIGKILL or SIGQUIT) may appear in this list even if they are no longer running. Conversely, this list may be missing some entries if your operating system's temporary

()

Source from the content-addressed store, hash-verified

415
416
417def list():
418 """Print a listing of known running TensorBoard instances.
419
420 TensorBoard instances that were killed uncleanly (e.g., with SIGKILL
421 or SIGQUIT) may appear in this list even if they are no longer
422 running. Conversely, this list may be missing some entries if your
423 operating system's temporary directory has been cleared since a
424 still-running TensorBoard instance started.
425 """
426 infos = manager.get_all()
427 if not infos:
428 print("No known TensorBoard instances running.")
429 return
430
431 print("Known TensorBoard instances:")
432 for info in infos:
433 template = (
434 " - port {port}: {data_source} (started {delta} ago; pid {pid})"
435 )
436 print(
437 template.format(
438 port=info.port,
439 data_source=manager.data_source_from_info(info),
440 delta=_time_delta_from_info(info),
441 pid=info.pid,
442 )
443 )

Calls 1

_time_delta_from_infoFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…