Bender allows you to easily define and run neural networks on your iOS apps, it uses Apple’s MetalPerformanceShaders under the hood. Bender provides the ease of use of CoreML with the flexibility of a modern ML framework. Bender allows you to run trained models, you can use Tensorflow, Keras, Caffe, the choice is yours. Either freeze the graph or export the weights to files. You can import a frozen graph directly from supported platforms or re-define the network structure and load the weights. Either way, it just takes a few minutes. Bender suports the most common ML nodes and layers but it is also extensible so you can write your own custom functions. With Core ML, you can integrate trained machine learning models into your app, it supports Caffe and Keras 1.2.2+ at the moment. Apple released conversion tools to create CoreML models which then can be run easily. Finally, there is no easy way to add additional pre or post-processing layers to run on the GPU.
Features
- A modern ML framework built on top of Metal
- Train a model in your framework of choice
- Import the model with Bender
- Bender runs the model on the GPU using MPS
- Bender is used by the world’s top research teams
- Bender is up to 40% faster when running the same model