MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / format_stream

Function format_stream

tensorboard/notebook.py:180–186  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

178 elif isinstance(start_result, manager.StartFailed):
179
180 def format_stream(name, value):
181 if value == "":
182 return ""
183 elif value is None:
184 return "\n<could not read %s>" % name
185 else:
186 return "\nContents of %s:\n%s" % (name, value.strip())
187
188 message = (
189 "ERROR: Failed to launch TensorBoard (exited with %d).%s%s"

Callers 1

startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…