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

Method display

caffe2/experiments/python/device_reduce_sum_bench.py:53–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 self.results = []
52
53 def display(self):
54 print('Results ({}):'.format(type(self).__name__))
55 print('input size ms/iter')
56 print('------------------------------ -----------')
57 for size, ms in self.results:
58 print('{!s:<30} {:.4f}'.format(size, ms))
59
60
61class SumElements(Benchmark):

Callers 2

_show_graphFunction · 0.45
mainFunction · 0.45

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected