Skip to content

Commit 6d6c3b4

Browse files
committed
fix shape in te matmul workload
1 parent a4a45e9 commit 6d6c3b4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

python/tvm/meta_schedule/postproc/rewrite_tensorize.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class RewriteTensorize(Postproc):
2929
----------
3030
vectorize_init_loop : bool
3131
Whether or not vectorize the initialization loop produced by DecomposeReduction
32-
3332
"""
3433

3534
def __init__(self, vectorize_init_loop=False) -> None:

python/tvm/meta_schedule/testing/te_workload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def f_compute(i, j):
607607

608608
def matmul_relu(n: int, m: int, k: int) -> Tuple[te.Tensor, te.Tensor, te.Tensor]:
609609
a = te.placeholder((n, k), name="A")
610-
b = te.placeholder((m, k), name="B")
610+
b = te.placeholder((k, m), name="B")
611611
k = te.reduce_axis((0, k), name="k")
612612
c = te.compute(
613613
(n, m),

0 commit comments

Comments
 (0)