xhsoldier
xhsoldier

Reputation: 595

how to use tensorflow-lite nnapi on android 7 & 8

NNAPI is available on android 8.1. But I want to use the NNAPI on android 7&8(arm64). the NNAPI is used by tensorflow-lite.

Where can I download libneuralnetworks.so?

Upvotes: 2

Views: 1726

Answers (1)

Miao Wang
Miao Wang

Reputation: 1130

Unfortunately NNAPI is only available on devices with Android 8.1 or later. And it currently does not have a support lib to work on older devices.

If your primary usecase is Tensorflow-Lite, you can rely on its CPU implementation on older devices. Actually, if you enabled NNAPI delegation in TFLite, it will try look for libneuralnetworks.so and use it when it's available. And it will fallback to its CPU implementation when libneuralnetworks.so is not available.

Upvotes: 4

Related Questions