Skip to content

Commit cb08a9e

Browse files
committed
Fix linner errors
Signed-off-by: Adrian Lundell <adrian.lundell@arm.com> Change-Id: I8d9c4344890fb0ef59fef68c4b51803bc6d58fc9
1 parent 78ec2b4 commit cb08a9e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

backends/arm/_passes/dim_maps.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ def _build_groups(
525525
!= Counter(factor.key for factor in target_factors)
526526
):
527527
return None
528-
source_factors = cast(list[_Factor], source_factors)
529-
target_factors = cast(list[_Factor], target_factors)
528+
source_factors = source_factors
529+
target_factors = target_factors
530530

531531
# Compute prime factor permutation between input and output shapes
532532
factor_count = len(source_factors)
@@ -635,6 +635,7 @@ def __init__(self, permute_node: Node) -> None:
635635
if normalized is None:
636636
raise ValueError(f"Invalid permute dims: {permute_dims}")
637637
self.permute_dims = normalized
638+
638639
def map_dims(self, dims: int | Sequence[int]) -> list[int]:
639640
"""Computes mapped dims s.t.
640641

0 commit comments

Comments
 (0)