f143881314fdc0518a370e6353c6fb6305cedf23,tests/python/unittest/test_target_codegen_static_init.py,,test_static_init,#,54

Before Change


        return sh

    stmt = ib.get()
    fapi = tvm.testing.MakeAPILegacy(stmt, "ramp", [Ab], 0, True)
    f = tvm.driver.build(fapi, target="llvm")
    a = tvm.nd.array(np.zeros(10, dtype=dtype))
    f(a)

After Change


        return sh

    stmt = ib.get()
    mod = tvm.IRModule.from_expr(
        tvm.tir.PrimFunc([Ab], stmt).with_attr("global_symbol", "ramp"))
    f = tvm.driver.build(mod, target="llvm")
    a = tvm.nd.array(np.zeros(10, dtype=dtype))
    f(a)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 7

Instances


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_static_init.py
Class Name:
Method Name: test_static_init


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_runtime_extension.py
Class Name:
Method Name: test_dltensor_compatible


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_vm_basic.py
Class Name:
Method Name: test_stack_vm_basic


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_vm_basic.py
Class Name:
Method Name: test_vm_parallel


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_llvm.py
Class Name:
Method Name: test_llvm_intrin


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_static_init.py
Class Name:
Method Name: test_static_callback


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_vm_basic.py
Class Name:
Method Name: test_stack_vm_loop


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_llvm.py
Class Name:
Method Name: test_llvm_lookup_intrin


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_tir_pass_storage_flatten.py
Class Name:
Method Name: test_flatten_double_buffer


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_static_init.py
Class Name:
Method Name: test_static_init


Project Name: apache/incubator-tvm
Commit Name: f143881314fdc0518a370e6353c6fb6305cedf23
Time: 2020-04-15
Author: tqchen@users.noreply.github.com
File Name: tests/python/unittest/test_target_codegen_vm_basic.py
Class Name:
Method Name: test_stack_vm_cond