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

Function _hash_fn

language/orqa/preprocessing/create_data_splits.py:110–111  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

108 result = tf.mod(hash_bucket, 10)
109
110 def _hash_fn(x):
111 return session.run(result, feed_dict={placeholder: x})
112
113 return _hash_fn
114

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…