Skip to content

[LiteRT Play Services] inference on NPU #3936

Description

@leeroyka

Android
TFLite from Google Play Services
v16.4.0

C or C++ API

How can I inference on an NPU not on Qualciomm devices, how to use the NNAPI delegate? Example on TPU from Google Pixel devices.

only the GPU delegate is available in C++ directory

my gradle:

dependencies {
    implementation libs.play.services.tflite.java
    implementation libs.play.services.tflite.gpu
    implementation libs.play.services.tflite.acceleration.service
    implementation libs.play.services.tflite.impl
}
  • directory "tensorflow/light/delegates" didnt exists in Play Services version
  • available only TfLiteGpuDelegatePluginCApi

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions