Skip to content

Commit d649b8d

Browse files
committed
python code formatting
1 parent 1443128 commit d649b8d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlir/python/mlir/dialects/transform/structured.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ def __init__(
191191
static_tile_interchange,
192192
_,
193193
) = _dispatch_dynamic_index_list(tile_interchange)
194-
num_loops = (
195-
1 if use_forall else sum(1 for v in static_tile_sizes if v != 0)
196-
)
194+
num_loops = 1 if use_forall else sum(1 for v in static_tile_sizes if v != 0)
197195

198196
if isinstance(loop_types_or_target, (Operation, Value, OpView)):
199197
loop_types = [transform.AnyOpType.get()] * num_loops

0 commit comments

Comments
 (0)