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

Method preprocess_fn

language/mentionmemory/tasks/base_task.py:121–122  ·  view source on GitHub ↗
(sample: Dict[str, tf.Tensor])

Source from the content-addressed store, hash-verified

119 """
120
121 def preprocess_fn(sample: Dict[str, tf.Tensor]) -> Dict[str, tf.Tensor]:
122 return sample
123
124 return preprocess_fn
125

Callers 2

setUpMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.36
setUpMethod · 0.36