STT-tensorflow/tensorflow/lite/experimental/acceleration/compatibility
..
android_info.cc
android_info.h
BUILD
convert_binary_to_cc_source.py Rename GPU whitelist -> compatibility (list) 2020-06-10 06:17:04 -07:00
database.fbs
devicedb_test.cc
devicedb-sample.json
devicedb.cc
devicedb.h
gpu_compatibility.bin
gpu_compatibility.cc
gpu_compatibility.h
json_to_fb.cc
README.md
variables.h

GPU delegate compatibility database

This package provides data and code for deciding if the GPU delegate is supported on a specific Android device.

Customizing the database

  • Convert from checked-in flatbuffer to json by running flatc -t --raw-binary --strict-json database.fbs -- gpu_compatibility.bin
  • Edit the json
  • Convert from json to flatbuffer flatc -b database.fbs -- gpu_compatibility.json
  • Rebuild ../../../java:tensorflow-lite-gpu