Hi,
I have strictly followed all the recommendations in the user guide. Below is the guide I referenced:
https://www.nxp.com/docs/en/application-note/AN14411.pdf
However, I am still encountering an issue where the neutron_delegate gets stuck.
Here is the command I used:
$ adb shell am start -S -n org.tensorflow.lite.benchmark/.BenchmarkModelActivity --es args '" \
--graph=/data/local/tmp/mobilenet_v1_1.0_224_quant.tflite \
--external_delegate=libneutron_delegate.so "'
Stopping: org.tensorflow.lite.benchmark
Starting: Intent { cmp=org.tensorflow.lite.benchmark/.BenchmarkModelActivity (has extras) }
$ adb logcat | grep tflite
05-13 11:40:12.210 2664 2664 I tflite_BenchmarkModelActivity: Running TensorFlow Lite benchmark with args: --graph=/data/local/tmp/mobilenet_v1_1.0_224_quant.tflite --external_delegate_path=/data/app/~~gkkSGUSjWLRVuEfw_xoDSg==/org.tensorflow.lite.benchmark-GF0pwhDDWOR55LMOcNezug==/lib/arm64/libneutron_delegate.so
05-13 11:40:12.237 2664 2664 I tflite : Log parameter values verbosely: [0]
05-13 11:40:12.238 2664 2664 I tflite : Graph: [/data/local/tmp/mobilenet_v1_1.0_224_quant.tflite]
05-13 11:40:12.238 2664 2664 I tflite : External delegate path: [/data/app/~~gkkSGUSjWLRVuEfw_xoDSg==/org.tensorflow.lite.benchmark-GF0pwhDDWOR55LMOcNezug==/lib/arm64/libneutron_delegate.so]
05-13 11:40:12.239 2664 2664 I tflite : Loaded model /data/local/tmp/mobilenet_v1_1.0_224_quant.tflite
05-13 11:40:12.240 2664 2664 I tflite : Initialized TensorFlow Lite runtime.
05-13 11:40:12.347 2664 2664 I tflite : EXTERNAL delegate created.
05-13 11:40:12.347 2664 2664 I tflite : NeutronDelegate delegate: 30 nodes delegated out of 31 nodes with 1 partitions.
05-13 11:40:12.348 2664 2664 I tflite : Replacing 30 out of 31 node(s) with delegate (NeutronDelegate) node, yielding 2 partitions for the whole graph.
This is where it stops—no further output.
Could you please help me resolve this issue?