4 ms·
It has an API, it is called CoreML. The compiler will use whatever resources will run your code the best, which on a phone may consider power consumption as we
by dev_tty01 5y ago
It has an API, it is called CoreML. The compiler will use whatever resources will run your code the best, which on a phone may consider power consumption as well as performance. I am doubtful as programmers we know more about the hardware performance tradeoffs than the designers of the hardware.
"Core ML optimizes on-device performance by leveraging the CPU, GPU, and Neural Engine while minimizing its memory footprint and power consumption."
https://developer.apple.com/documentation/coreml https://developer.apple.com/documentation/coreml
Yes, CoreML may or may not run on the Neural engine, depending upon what you are trying to do and the system conditions. It will run your code on whatever works best.