Paddle Lite Android NNAPI Deployment Guide

This guide explains how to deploy Paddle models to Android devices using Paddle Lite and the Android Neural Networks API (NNAPI) for hardware-accelerated…


Paddle Lite Android NNAPI Deployment Guide - cover page
Brand
PaddlePaddle
Category
Other Electronics
Document type
User Manual
Language
Chinese
Pages
11
File format
PDF
File size
764 KB
Published
19 October, 2026
Updated
19 October, 2026
MD5 checksum
CB73E99D52A68EAF9FC360C945461145

About this manual

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.

What's inside

  • Environment Preparation
  • Android NNAPI Deployment
  • Demo Preparation
  • Model Preparation
  • Using NNAPI in Source Code
  • Adding NNAPI Settings in Shell Scripts
  • Run Results

Frequently asked questions

What is the purpose of this document?

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.

Which device platform is used for the example results?

The example results shown in the document are based on the UMS9620 platform.

How do you configure the source code to use NNAPI?

You must set the input parameter 'nnadapter_device_names' to 'android_nnapi' when running the inference.

Download PDF (764 KB)