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

Function _migrate_audio_value

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

Source from the content-addressed store, hash-verified

140
141
142def _migrate_audio_value(value):
143 audio_value = value.audio
144 data = [[audio_value.encoded_audio_string, b""]] # empty label
145 summary_metadata = audio_metadata.create_summary_metadata(
146 display_name=value.metadata.display_name or value.tag,
147 description=value.metadata.summary_description,
148 encoding=audio_metadata.Encoding.Value("WAV"),
149 converted_to_tensor=True,
150 )
151 return make_summary(value.tag, summary_metadata, data)
152
153
154def _migrate_scalar_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…