Skip to content

MLBEDSW-11038: Add constant propagation for MemoryCopy

Johan Gunnarsson requested to merge MLBEDSW-11038 into main
  • Add constant propagation for MemoryCopy.
  • Change constant propagation to use tensor connection shape instead of storage shape, otherwise the broadcasting breaks for ops with different IFM/OFM storage shapes, such as Reshape replaced by MemoryCopy.
  • Change RemoveReshape to set same IFM/OFM connection shape when creating MemoryCopy ops.

Signed-off-by: Johan Gunnarsson johan.gunnarsson@arm.com Change-Id: Ic0e7106410ff87fd2292c8a9ac15d048347eba2d

Merge request reports

Loading