4c13ae9d17d1709ed7a777ce1bb72212e8d2559d,tests/python/frontend/pytorch/test_object_detection.py,,test_detection_models,#,88
Before Change
tvm_scores = tvm_res[1].asnumpy().tolist()
num_pt_valid_scores = num_tvm_valid_scores = 0
for score in pt_scores:
if score >= score_threshold:
num_pt_valid_scores += 1
else:
break
for score in tvm_scores:
if score >= score_threshold:
num_tvm_valid_scores += 1
else:
After Change
with tvm.transform.PassContext(opt_level=3):
vm_exec = relay.vm.compile(mod, target=target, params=params)
ctx = tvm.context(target, 0)
vm = VirtualMachine(vm_exec, ctx)
vm.set_input("main", **{input_name: data_np})
tvm_res = vm.run()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: apache/incubator-tvm
Commit Name: 4c13ae9d17d1709ed7a777ce1bb72212e8d2559d
Time: 2020-12-25
Author: masahi129@gmail.com
File Name: tests/python/frontend/pytorch/test_object_detection.py
Class Name:
Method Name: test_detection_models
Project Name: tensorly/tensorly
Commit Name: f41ae3bce45a4cf2f101d610704838d335b1f586
Time: 2018-02-03
Author: csw@amazon.com
File Name: tensorly/backend/pytorch_backend.py
Class Name:
Method Name: where
Project Name: tensorflow/tensorboard
Commit Name: 9c48ff0938044b86183ee14e845efed3bf98f8b6
Time: 2020-12-14
Author: wchargin@gmail.com
File Name: tensorboard/plugins/graph/graphs_plugin.py
Class Name: GraphsPlugin
Method Name: run_metadata_route