6b5694f0f2941fb9e8fa510011e3caeb03056b4e,tests/python/unittest/test_target_codegen_blob.py,,test_synthetic,#,29
Before Change
fo.write(relay.save_param_dict(graph_params))
loaded_lib = tvm.runtime.load_module(path_lib)
loaded_json = open(temp.relpath("deploy_graph.json")).read()
loaded_params = bytearray(open(temp.relpath("deploy_param.params"), "rb").read())
data = np.random.uniform(-1, 1, size=input_shape).astype("float32")
ctx = tvm.gpu()
module = graph_runtime.create(loaded_json, loaded_lib, ctx)
After Change
loaded_lib = tvm.runtime.load_module(path_lib)
data = np.random.uniform(-1, 1, size=input_shape).astype("float32")
ctx = tvm.gpu()
module = graph_runtime.GraphModule(loaded_lib["default"](ctx))
module.set_input("data", data)
module.run()
out = module.get_output(0).asnumpy()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: apache/incubator-tvm
Commit Name: 6b5694f0f2941fb9e8fa510011e3caeb03056b4e
Time: 2020-09-16
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_blob.py
Class Name:
Method Name: test_synthetic
Project Name: apache/incubator-tvm
Commit Name: 6b5694f0f2941fb9e8fa510011e3caeb03056b4e
Time: 2020-09-16
Author: tqchen@users.noreply.github.com
File Name: tutorials/get_started/relay_quick_start.py
Class Name:
Method Name:
Project Name: mozilla/bugbug
Commit Name: 695ba3b9aa5f2f8a8559ea09fe626a30251b2778
Time: 2020-05-15
Author: mcastelluccio@mozilla.com
File Name: bugbug/test_scheduling_features.py
Class Name: path_distance
Method Name: __call__