This project uses iOS Playgrounds to display a working neural network. No external libraries are used. The matrix and neural network code is written in pure Swift. This playground has only been tested on an 12.9‑inch iPad Pro.
This is how I do it, but I'm sure there is a better way:
Neural Network.playgroundfolder from your Mac to your device.