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

Function main

language/multivec/preprocessing/create_training_data.py:1195–1203  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

1193
1194
1195def main(argv):
1196 if len(argv) > 1:
1197 raise app.UsageError("Too many command-line arguments.")
1198 print("Saving examples.")
1199 random.seed(FLAGS.rand_seed) # setting random seed for stability
1200 save_tf_examples(FLAGS.queries_path, FLAGS.passages_path,
1201 FLAGS.neighbors_path, FLAGS.examples_path,
1202 FLAGS.num_candidates)
1203 return
1204
1205
1206if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

save_tf_examplesFunction · 0.85
seedMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…