MCPcopy Create free account
hub / github.com/google-research/language / deserialize_example

Function deserialize_example

language/realm/example_generator.py:131–132  ·  view source on GitHub ↗
(tensor)

Source from the content-addressed store, hash-verified

129 pretrain_dataset = load_eval_dataset(eval_shard_paths)
130
131 def deserialize_example(tensor):
132 return tf.train.Example.FromString(tensor.numpy())
133
134 pretrain_dataset = map(deserialize_example, pretrain_dataset)
135

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…