For argmax/min on CoreML: In case of ties, the identity of the return value is not guaranteed.
Current spec seems to indicate if selectLastIndex is not passed, the first index will be chosen. This can't be satisfied by the CoreML backend.
How much does models actually depend on this? Do we have examples where selectLastIndex is useful?
If not, I'd suggest removing this parameter.