Skip to content

MLBEDSW-11223: Fix slice-handling in ReshapeElementwise

Alexander Bengtsson requested to merge MLBEDSW-11223 into main
  • ReshapeElementwise supports slices as long as the slice-volume represents the whole tensors. Such slices can be removed safely, which simplifies slice maintenance.
  • Fix bug in hasSlices condition
  • Add hasStride condition as we cannot reshape strided slices.

Change-Id: I8a0fce00aa1dc170519e44d1a7e5862a7e067b6d Signed-off-by: Alexander Bengtsson Alexander.Bengtsson@arm.com

Merge request reports

Loading