executorch
50f6b0c0 - Arm backend: Replace squeeze with view in DecomposeAnyPass (#15733)

Commit
196 days ago
Arm backend: Replace squeeze with view in DecomposeAnyPass (#15733) Rename ConvertAnyDefaultDimDimsPass to DecomposeAnyPass because, in practice, it does same thing for the any op as DecomposeSumPass does for sum. When keepdim=False, create a single view_copy to the reduced shape instead of inserting squeeze_copy. This eliminates the chronological dependency of ConvertSqueezesToViewPass. cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai Signed-off-by: Martin Lindström <Martin.Lindstroem@arm.com> Co-authored-by: Martin Lindström <Martin.Lindstroem@arm.com>
Author
Parents
Loading