Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 1
1 answer
98 views

I am developing a custom C++ Inference Engine for Android using the TensorFlow Lite C API. The engine is compiled as a shared library (.so) and loaded via JNI. The engine works perfectly on Pixel and ...
Score of 2
1 answer
587 views

Samsung Galaxy S21 is the only device runs slow when using tensor-flow lite and NNAPI together. Did anyone encounter this issue before? Background I used tensor-flow lite and NNAPI and built my app on ...
Score of 1
1 answer
2041 views

I am currently evaluating and comparing the performance of some tensorflow models on different smartphones. I am testing the MNIST and CIFAR10 databases. The strange thing is, when i try to speed up ...
Score of 0
1 answer
191 views

I was trying to utilize NNAPI via OnnxRuntime for NN model inferencing on an Android device. Based on the youtube video here: https://www.youtube.com/watch?v=Ij5MoUnLQ0E it is possible to specify the ...
Score of -1
1 answer
224 views

I'm studying android platform, especially nnapi. I found out Arm nn driver processes requests from application through NNAPI. I was trying to figure out the flow of the function in the code base, and ...
Score of 0
1 answer
88 views

Trying to Access GPU using Android C++ NNAPIs ANeuralNetworksCompilation_createForDevices gives error ANeuralNetworksCompilation_createForDevices gives error Linking fails.
Score of 0
1 answer
582 views

I trained and quantized a Tensorflow model on a Ubuntu 18.04 machine and I converted it to tflite format. Then I deployed it on a Linux Yocto board equipped with a NPU accelerator, tflite_runtime and ...
Score of 1
0 answers
95 views

I am interested alot in huawei NPU(I am using kirin9000, 990, 810) and I just found that when using hiai foundation api to use NPU, hiai foundation is not working when i build as native shell program ...
Score of 0
1 answer
260 views

I have a quantized TensorflowLite model that I'm loading onto a Pixel 3 running Android 11. I built the model using Tensorflow Lite 2.5 and I'm using the nightly builds of Tensorflow for Android. I'm ...
Score of 0
1 answer
244 views

NNAPI Delegate in Tensorflow lite uses shared memory for input and output tensors of the graph. However the name of the shared memory pool is hardcoded ("input_pool" and "otput_pool&...
Score of -1
2 answers
574 views

I am trying to build NNAPI c++ native program, and I need to use sharedmem library. I found dynamic library file for NeuralNetwork.h however I cannot find dynamic library file for sharedmem.h. Thus I ...
Score of 0
0 answers
111 views

NN_CTS test cases are auto-generated using some script. I'm trying to understand if there is any source code available for those test cases. The documentation is not very clear too. Is there any ...
Score of 1
1 answer
659 views

I successfully converted TensorFlow model to TensorFlow Lite float16 model according to Post-training float16 quantization. The below is a diagram of the converted model. And I ran successfully it on ...
Score of 0
1 answer
73 views

When I was trying the android nn code, found these in Conv2D.cpp: tflite::Dims<4> im2colDim; \ im2colDim.sizes[3] = (int)getSizeOfDimension(...
Score of 0
2 answers
679 views

Here below is the system architecture for NNAPI. enter image description here The NNAPI is available on Android 8.1 (API level27) or higher. What will happen if I try to use GPU delegate under ...

15 30 50 per page