MCPcopy
hub / github.com/google-deepmind/gemma / _decode_bytes

Function _decode_bytes

gemma/gm/data/_tasks.py:272–276  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

270
271
272def _decode_bytes(element):
273 if isinstance(element, bytes):
274 return element.decode("utf-8")
275 else:
276 return element

Callers 2

mapMethod · 0.85
mapMethod · 0.85

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected