useNnApiForAndroid property
TensorFlow version >= v2.2 Set true to use NnApi Delegate for Android
Implementation
set useNnApiForAndroid(bool useNnApi) {
if (Platform.isAndroid) {
tfliteBinding.TfLiteInterpreterOptionsSetUseNNAPI(
_options,
useNnApi,
);
}
}