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

Function _migrate_image_value

tensorboard/data_compat.py:126–139  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

124
125
126def _migrate_image_value(value):
127 image_value = value.image
128 data = [
129 str(image_value.width).encode("ascii"),
130 str(image_value.height).encode("ascii"),
131 image_value.encoded_image_string,
132 ]
133
134 summary_metadata = image_metadata.create_summary_metadata(
135 display_name=value.metadata.display_name or value.tag,
136 description=value.metadata.summary_description,
137 converted_to_tensor=True,
138 )
139 return make_summary(value.tag, summary_metadata, data)
140
141
142def _migrate_audio_value(value):

Callers

nothing calls this directly

Calls 1

make_summaryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…