Overview Before you begin Run Ubuntu Linux on the HiKey 960 Build an Ubuntu filesystem Flash the base firmware and OS Flash the base firmware and OS - recovery mode Flash the base firmware and OS - fastboot mode Boot Linux Add more diskspace MNIST Draw MNIST Draw - Setup MNIST Draw - Machine Learning model MNIST Draw - MNIST demo application Streamline Streamline - Run the MNIST inference Streamline - Use Streamline to connect and profile the application Streamline - Automate the launch and capture Next steps
Streamline
Automate the launch and capture
To automate the launch and capture, use the Streamline Capture & Analysis Options dialog to specify a working directory and a command to run.
There is a run.sh script in the mnist-demo/ directory, which can be the command to launch.
Also, click the Stop Capture checkbox to stop the capture when the run is over.
Study the trade-offs between the CPU and GPU acceleration.
The following screenshot shows how to setup an automated capture:
Here is an example capture obtained from Streamline showing the layers of the neural network and the functions in the Arm Compute Library which were executed: