• Home
Name Date Size #Lines LOC

..--

jni/03-May-2024-863661

res/03-May-2024-17495

results/03-May-2024-687555

src/com/android/nn/benchmark/03-May-2024-3,5502,436

tools/03-May-2024-3224

Android.mkD03-May-20241.8 KiB5226

AndroidManifest.xmlD03-May-20242.1 KiB4831

AndroidTest.xmlD03-May-20241.3 KiB2812

LICENSED03-May-202411.1 KiB201169

README.txtD03-May-20241.5 KiB3728

build_and_run_benchmark.shD03-May-20243.6 KiB10673

README.txt

1Copyright 2017 The Android Open Source Project
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7     http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14------------------------------------------------------------------
15
16This directory contains files for the Android MLTS (Machine Learning
17Test Suite). MLTS allows to evaluate NNAPI acceleration latency and accuracy
18on an Android device, using few selected ML models and datesets.
19
20Models and datasets used description and licensing can be found in
21platform/test/mlts/models/README.txt file.
22
23Usage:
24* Connect a target device to your workstation, make sure it's
25reachable through adb. Export target device ANDROID_SERIAL
26environment variable if more than one device is connected.
27* cd into android top-level source directory
28> source build/envsetup.sh
29> lunch aosp_arm-userdebug # Or aosp_arm64-userdebug if available.
30> ./test/mlts/benchmark/build_and_run_benchmark.sh
31* At the end of a benchmark run, its results will be
32presented as html page, passed to xdg-open.
33
34Changelog:
35v0.1, 2018-10-15. Initial release with MobileNet(u8/f32)/TTS/ASR models.
36
37