b44d6115097e2bebc4a1ecef869e04e2c60af7bb,benchmark.py,,,#,43
Before Change
avg_speed = []
for var in var_lst:
// override exp args
setattr(args, var_name, var)
server = BertServer(args)
server.start()
// sleep until server is ready
After Change
avg_speed = []
for var in var_lst:
args = {k: v for k, v in common.items()}
args[var_name] = var
args_cmd = ["-%s=%s" % (k, v) for k, v in args.items()]
// override exp args
server = BertServer(arg_p.parse_args(args_cmd))
server.start()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: hanxiao/bert-as-service
Commit Name: b44d6115097e2bebc4a1ecef869e04e2c60af7bb
Time: 2018-12-15
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name:
Project Name: analysiscenter/batchflow
Commit Name: a5bfb8dd4a92293ec239b219cb79447ca919a669
Time: 2017-06-22
Author: rhudor@gmail.com
File Name: dataset/batch_image.py
Class Name: ImagesBatch
Method Name: assemble
Project Name: mariogeiger/se3cnn
Commit Name: 2279ca536f544d1e7a841b708f213163b6a8d17b
Time: 2018-01-03
Author: geiger.mario@gmail.com
File Name: arch/example.py
Class Name: CNN
Method Name: __init__