()
| 134 | |
| 135 | |
| 136 | def main(): |
| 137 | # TODO: use argv |
| 138 | parser = argparse.ArgumentParser( |
| 139 | description="Caffe2: Benchmark for net construction" |
| 140 | ) |
| 141 | parser.add_argument("--num_gpus", type=int, default=1, |
| 142 | help="Number of GPUs.") |
| 143 | args = parser.parse_args() |
| 144 | |
| 145 | Create(args) |
| 146 | |
| 147 | |
| 148 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected
searching dependent graphs…