Hacker News new | ask | show | jobs
by dev_tty01 1696 days 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

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.