hollance / neural-engine

Everything we actually know about the Apple Neural Engine (ANE)
MIT License
1.97k stars 72 forks source link

Link to some examples / demos #10

Open nealmcb opened 2 years ago

nealmcb commented 2 years ago

This is a great resource - thanks!

Can you link to or provide some basic demos of the ANE in action? Ideally for me that would be something I can run from the command line on an M1 from Python, but since it seems that even Apple's Tensorflow fork (and subsequent tensorflow metal PluggableDevice doesn't leverage the ANE, something else I could run on an M1 with Xcode would be a great help.

hollance commented 2 years ago

There are some example programs on Apple's developer site in the Core ML section. For example, this one: https://developer.apple.com/documentation/vision/classifying_images_with_vision_and_core_ml

There's no guarantee Core ML will actually run this on the ANE, though.