To that end the Kirin 970 supports Tensorflow / Tensorflow Lite and Caffe/Caffe2.
https://techcrunch.com/2017/05/17/googles-tensorflow-lite-brings-machine-learning-to-android-devices/
Follow the instructions at tensorflow/contrib/makefile under "iOS" to compile a static library containing the core TensorFlow code
thanks