MCPcopy Create free account
hub / github.com/pytorch/pytorch / main

Function main

caffe2/experiments/python/device_reduce_sum_bench.py:116–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114
115
116def main():
117 args = parse_args()
118
119 benchmarks = [ALL_BENCHMARKS[name]() for name in args.benchmarks]
120 for bench in benchmarks:
121 bench.run()
122 for bench in benchmarks:
123 bench.display()
124
125
126if __name__ == '__main__':

Callers 1

Calls 3

parse_argsFunction · 0.70
runMethod · 0.45
displayMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…