This guide explains how to deploy Paddle models to Android devices using Paddle Lite and the Android Neural Networks API (NNAPI) for hardware-accelerated…
This document provides instructions for deploying Paddle models to Android devices using the Paddle Lite framework and the Android Neural Networks API (NNAPI) to achieve hardware-accelerated inference. It is specifically designed for developers working with Unisoc Spreadtrum chips.
The guide covers the necessary environment preparation, including setting up ADB tools and test devices. It details the steps for preparing the demo source code and the model files, configuring the source code to utilize the NNAPI backend, and modifying shell scripts to enable hardware acceleration. Finally, it presents sample run results comparing inference performance between the NNAPI and CPU backends. This manual is written in Chinese.
This document introduces how to deploy Paddle models to Android devices using Paddle Lite and Android NNAPI for hardware-accelerated inference on Unisoc Spreadtrum chips.
The example results shown in the document are based on the UMS9620 platform.
You must set the input parameter 'nnadapter_device_names' to 'android_nnapi' when running the inference.