(argv)
| 1193 | |
| 1194 | |
| 1195 | def 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 | |
| 1206 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected
searching dependent graphs…