Skip to content

Commit

Permalink
Fix test type.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwfromm authored and Josh Fromm committed Jul 19, 2022
1 parent 698e978 commit 221026d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/topi/python/test_topi_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,8 @@ def check_device(target, dev):

def verify_trilu(input_shape, upper, k=0):
x = te.placeholder(shape=input_shape, name="x", dtype="float32")
trilu_result = topi.transform.trilu(x, k, upper)
k_tir = tvm.tir.const(k, dtype="int32")
trilu_result = topi.transform.trilu(x, k_tir, upper)

def check_device(target, dev):
print("Running on target: %s" % target)
Expand Down

0 comments on commit 221026d

Please sign in to comment.