This section explains how to utilize the NNTrainer tools.
Here we will guide you through running unit tests on an Android device.
Prerequisite: Install and configure the NDK
$ ./tools/android_test.sh
$ meson build [flags...]
$ cd build
$ adb push res/ /data/local/tmp/nntr_android_test
Please note that golden data is necessary to execute layer-related tests.
$ adb shell
$ cd /data/local/tmp/nntr_android_test/
$ export LD_LIBRARY_PATH=.
$ ./unittest_nntrainer_tensor