MLBEDSW-10227: Additional checks for rescale IFM-fusing
- Add 3 missing checks when performing IFM rescale-fusing on binary
elementwise operations.
- 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.
- When performing IFM-fusing, the fused tensor should not be in graph-outputs.
- 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