Skip to content

Commit

Permalink
[BugFix][VTA] tvm.tir.Call has no name attribute (#15629)
Browse files Browse the repository at this point in the history
fix bug: tvm.tir.Call has no name attribute
  • Loading branch information
youxiudeshouyeren authored Aug 28, 2023
1 parent 6554e2e commit 0e2fabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vta/python/vta/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def _flatten_loop(src_coeff, dst_coeff, extents):
rhs = loop_body.value.args[1]
else:
raise RuntimeError(
"Function call not recognized %s" % (loop_body.value.name)
"Function call not recognized %s" % (loop_body.value.op.name)
)
elif isinstance(loop_body.value, tvm.tir.BufferLoad):
alu_opcode = env.dev.ALU_OPCODE_SHR
Expand Down

0 comments on commit 0e2fabd

Please sign in to comment.