• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Stop proguard from stripping away code used by tensorflow JNI library.
2-keepclassmembers class org.tensorflow.lite.NativeInterpreterWrapper {
3    private long inferenceDurationNanoseconds;
4}
5
6-keep class org.tensorflow.lite.annotations.UsedByReflection
7-keep @org.tensorflow.lite.annotations.UsedByReflection class *
8-keepclassmembers class * {
9    @org.tensorflow.lite.annotations.UsedByReflection *;
10}