Skip to content

Commit a2f5ed8

Browse files
committed
lint fix
1 parent 4d71ced commit a2f5ed8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python/tvm/relax/op/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ def call_tir(
9797
ret: Call
9898
A call node for the call_tir operator.
9999
"""
100-
if isinstance(args, Expr) and not isinstance(args, RxTuple) and not isinstance(args.struct_info_, TupleStructInfo): # type: ignore
100+
if (
101+
isinstance(args, Expr)
102+
and not isinstance(args, RxTuple)
103+
and not isinstance(args.struct_info_, TupleStructInfo)
104+
):
101105
args = RxTuple((args,))
102106

103107
if not isinstance(out_sinfo, list):

0 commit comments

Comments
 (0)