92664249e82483598a0a22dc0d2bd6f85a143c60,python/ray/util/sgd/torch/examples/benchmarks/benchmark.py,,,#,100

Before Change


    // Results
    img_sec_mean = np.mean(img_secs)
    img_sec_conf = 1.96 * np.std(img_secs)
    print("Img/sec per %s: %.1f +-%.1f" % (device, img_sec_mean, img_sec_conf))
    print("Total img/sec on %d %s(s): %.1f +-%.1f" %
          (num_workers, device, num_workers * img_sec_mean,
           num_workers * img_sec_conf))

After Change


    // Results
    img_sec_mean = np.mean(img_secs)
    img_sec_conf = 1.96 * np.std(img_secs)
    print(f"Img/sec per {device}: {img_sec_mean:.1f} +-{img_sec_conf:.1f}")
    print("Total img/sec on %d %s(s): %.1f +-%.1f" %
          (num_workers, device, num_workers * img_sec_mean,
           num_workers * img_sec_conf))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: ray-project/ray
Commit Name: 92664249e82483598a0a22dc0d2bd6f85a143c60
Time: 2020-08-20
Author: rkooo567@gmail.com
File Name: python/ray/util/sgd/torch/examples/benchmarks/benchmark.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 92664249e82483598a0a22dc0d2bd6f85a143c60
Time: 2020-08-20
Author: rkooo567@gmail.com
File Name: python/ray/util/sgd/torch/examples/benchmarks/dp_benchmark.py
Class Name:
Method Name:


Project Name: lene/nn-wtf
Commit Name: 8302f871c1b6de4abec3b06ee11f785d4d7f5c1b
Time: 2016-03-05
Author: lene.preuss@gmail.com
File Name: nn_wtf/neural_network_graph_mixins.py
Class Name: SummaryWriterMixin
Method Name: _print_eval