Skip to content

MLBEDSW-10227: Additional checks for rescale IFM-fusing

Alexander Bengtsson requested to merge MLBEDSW-10227 into main
  • Add 3 missing checks when performing IFM rescale-fusing on binary elementwise operations.
    1. Pass both rescale in/out dtypes and operation in/out dtypes to SupportsFusedRescale. All 4 are required to determine whether an operation can be fused.
    2. When performing IFM-fusing, the fused tensor should not be in graph-outputs.
    3. When checking whether binary elementwise operations can IFM-fuse The compiler must also check following for the second input:
      • input/output unsigned attributes
      • that the fused tensor is not in graph-output.

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

Merge request reports