Arm backend: Add support for amax/max/amin/min (#8829)
Max/min can be decomposed as for example max(x) = (amax(x), argmax(x)) For MI, an operator support check is added to support max-ops for which the argmax is not used. For BI, the int64 dtype returned by argmax is currently not supported by the arm_quantizer, and the program will crash. This is the same behaviour as before the patch, but with an improved error message. - Adds op_amax/op_amin node visitors. - Renames op_max/min->op_maximum/minimum to clearly separate the two ops. - Adds convert_minmax_pass to make min/max/amin/amax TOSA-compatible. - Adds unittests Util updates: - Updates analyze_output_utils to support rank 0. - Adds quantization to OpNotSupportedPipeline Signed-off-by: Adrian Lundell <adrian.lundell@arm.com>
A
Adrian Lundell committed
709fa3855215667bf6f8652e178edcded436a113
Parent: 521e931
Committed by GitHub <noreply@github.com>
on 2/28/2025, 1:25:16 PM