Running mlmodel's prediction on ANE, the leakyReLU layer causes large different output feature maps than running on CpuAndGpu and CPUOnly. And the results are totally wrong when using ANE, but results are right using gpu or cpu.
If I just replace the leakyReLU with ReLU in the mlmodel, the output feature maps only have small difference and outputs are all correct.
This problem occurs on iPhone with A12 and A13 chip, no matter the ios system is ios12, ios13, or ios14. But on A14 device, the problem is gone.
Is it a bug in coreml framework on A12/A13 devices?
If I just replace the leakyReLU with ReLU in the mlmodel, the output feature maps only have small difference and outputs are all correct.
This problem occurs on iPhone with A12 and A13 chip, no matter the ios system is ios12, ios13, or ios14. But on A14 device, the problem is gone.
Is it a bug in coreml framework on A12/A13 devices?