Mtk Neuropilot Ai Apu Hardware Acceleration - VIA Technologies VAB-950 Quick Start Manual

Android 10.0 evk
Hide thumbs Also See for VAB-950:
Table of Contents

Advertisement

3.7 MTK NeuroPilot AI APU Hardware Acceleration

We recommend that you install the third-party APK "image_classification_MobileNet_app-debug.apk" for
verification.
To enlarge the logcat buffer to 64MB, use the following command.
console:/ # logcat -G 64M
To enable the NeuroPilot relative log for getting the NN relative log in logcat, use the following command:
console:/ # su
console:/ # setprop debug.nn.vlog 1
console:/ # setprop debug.neuropilot.apu_nn.log 1
console:/ # setprop debug.neuropilot.gpu_nn.log 1
console:/ # setprop debug.neuropilot.arm_nn.log 1
Run the third-party APK "image_classification_MobileNet_app-debug.apk".
Then choose "Model: Quantized" and "Device: NNAPI".
To check that the NeuroPilot AI APU hardware acceleration is enabled, use the following command:
console:/ # logcat | grep findBestDeviceForEachOperation
11-05 04:31:15.502
3728
ModelBuilder::findBestDeviceForEachOperation(CONV_2D) = 0 (apunn)
11-05 04:31:15.502
3728
ModelBuilder::findBestDeviceForEachOperation(DEPTHWISE_CONV_2D) = 0 (apunn)
11-05 04:31:15.502
3728
ModelBuilder::findBestDeviceForEachOperation(CONV_2D) = 0 (apunn)
11-05 04:31:15.502
3728
ModelBuilder::findBestDeviceForEachOperation(AVERAGE_POOL_2D) = 0 (apunn)
11-05 04:31:15.502
3728
ModelBuilder::findBestDeviceForEachOperation(CONV_2D) = 0 (apunn)
11-05 04:31:15.502
3728
ModelBuilder::findBestDeviceForEachOperation(RESHAPE) = 0 (apunn)
11-05 04:31:15.503
3728
ModelBuilder::findBestDeviceForEachOperation(SOFTMAX) = 0 (apunn)
Note:
When the value 0 is displayed, it means that the APU hardware acceleration is enabled.
VIA VAB-950 Android 10.0 EVK Quick Start Guide
0
6893 I ExecutionPlan:
6893 I ExecutionPlan:
6893 I ExecutionPlan:
6893 I ExecutionPlan:
6893 I ExecutionPlan:
6893 I ExecutionPlan:
6893 I ExecutionPlan:
9

Advertisement

Table of Contents
loading

Table of Contents