• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

dogfood/23-Nov-2023-603487

jni/23-Nov-2023-885678

res/22-Nov-2023-17495

results/22-Nov-2023-687555

src/com/android/nn/benchmark/22-Nov-2023-3,8772,666

tools/23-Nov-2023-915770

.gitD01-Jan-19700

.gitignoreD23-Nov-202327 53

Android.mkD23-Nov-20231.8 KiB5326

AndroidManifest.xmlD23-Nov-20232.2 KiB4831

AndroidTest.xmlD22-Nov-20231.3 KiB2812

LICENSED22-Nov-202311.1 KiB201169

README.txtD22-Nov-20231.5 KiB3728

build_and_run_benchmark.shD23-Nov-20234.2 KiB12995

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