37912a1bf892bcac6a71255e7ae522b33f4e7ac6,tests/python/unittest/test_runtime_module_based_interface.py,,test_legacy_compatibility,#,41
Before Change
mod, params = relay.testing.resnet.get_workload(num_layers=18)
with relay.build_config(opt_level=3):
graph, lib, graph_params = relay.build_module.build(mod, "llvm", params=params)
data = np.random.uniform(-1, 1, size=(1, 3, 224, 224)).astype("float32")
ctx = tvm.cpu()
module = graph_runtime.create(graph, lib, ctx)
module.set_input("data", data)
After Change
mod, params = relay.testing.synthetic.get_workload()
with relay.build_config(opt_level=3):
graph, lib, graph_params = relay.build_module.build(mod, "llvm", params=params)
data = np.random.uniform(-1, 1, size=input_shape(mod)).astype("float32")
ctx = tvm.cpu()
module = graph_runtime.create(graph, lib, ctx)
module.set_input("data", data)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: apache/incubator-tvm
Commit Name: 37912a1bf892bcac6a71255e7ae522b33f4e7ac6
Time: 2020-08-14
Author: tristan.konolige@gmail.com
File Name: tests/python/unittest/test_runtime_module_based_interface.py
Class Name:
Method Name: test_legacy_compatibility
Project Name: apache/incubator-tvm
Commit Name: 37912a1bf892bcac6a71255e7ae522b33f4e7ac6
Time: 2020-08-14
Author: tristan.konolige@gmail.com
File Name: tests/python/unittest/test_runtime_module_based_interface.py
Class Name:
Method Name: test_debug_graph_runtime
Project Name: apache/incubator-tvm
Commit Name: 37912a1bf892bcac6a71255e7ae522b33f4e7ac6
Time: 2020-08-14
Author: tristan.konolige@gmail.com
File Name: tests/python/unittest/test_runtime_module_based_interface.py
Class Name:
Method Name: test_cpu
Project Name: apache/incubator-tvm
Commit Name: 37912a1bf892bcac6a71255e7ae522b33f4e7ac6
Time: 2020-08-14
Author: tristan.konolige@gmail.com
File Name: tests/python/unittest/test_runtime_module_based_interface.py
Class Name:
Method Name: test_gpu