Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Oct 12, 2023
1 parent b5f225f commit 424d179
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/tvm/relax/op/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ def call_tir(
ret: Call
A call node for the call_tir operator.
"""
if isinstance(args, Expr) and not isinstance(args, RxTuple) and not isinstance(args.struct_info_, TupleStructInfo): # type: ignore
if (
isinstance(args, Expr)
and not isinstance(args, RxTuple)
and not isinstance(args.struct_info_, TupleStructInfo)
):
args = RxTuple((args,))

if not isinstance(out_sinfo, list):
Expand Down

0 comments on commit 424d179

Please sign in to comment.