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

Function process_event

tensorboard/plugins/text/text_plugin.py:200–207  ·  view source on GitHub ↗

Convert a text event into a JSON-compatible response.

(wall_time, step, string_ndarray, enable_markdown)

Source from the content-addressed store, hash-verified

198
199
200def process_event(wall_time, step, string_ndarray, enable_markdown):
201 """Convert a text event into a JSON-compatible response."""
202 html = text_array_to_html(string_ndarray, enable_markdown)
203 return {
204 "wall_time": wall_time,
205 "step": step,
206 "text": html,
207 }
208
209
210class TextPlugin(base_plugin.TBPlugin):

Callers 1

text_implMethod · 0.85

Calls 1

text_array_to_htmlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…