How to leverage the Neural Engine on Apple Silicon/M1 processors as a developer?

Viewed 523

I am struggling to find an answer for this on SO, Google, or Apple's Developer Documentation.

Does Apple provide a APIs for any languages that allow developers to leverage the Neural Engine of the new M1 chips on macOS?

Searching Apple's Developer Documentation brings up a lot of functions in the Metal Performance Shaders library, which seems to use GPU acceleration.

Searching SO with the tags or and the keyword "neural" gives nothing useful.

Searching r/AppleDevelopers for "neural" turns up nothing.

I assume there has to be some information about how to develop using the neural cores. Are these cores only available to Apple developers and commercial partners?

1 Answers

Apple doesn't provide direct public API to Neural Engine. Some frameworks might be accelerated via Neural Engine:

  1. Accelerate
  2. CoreML
  3. BNNS
  4. MLCompute
Related