doc-ai / tensorio-android

TensorIO for Android
2 stars 6 forks source link

Reorg into separate core and tflite modules #163

Closed phildow closed 4 years ago

phildow commented 4 years ago

With subpackages under the same ai.doc.tensorio umbrella. Rename all package and file names to remove TIO prefix, which is an Obj-C convention. To use the library, it's now:

implementation 'com.github.doc-ai.tensorio-android:core:0.9.9'
implementation 'com.github.doc-ai.tensorio-android:tflite:0.9.9'

And imports are sane:

import ai.doc.tensorio.tflite.model.GpuDelegateHelper
import ai.doc.tensorio.tflite.model.NnApiDelegateHelper
import ai.doc.tensorio.tflite.model.TFLiteModel
import ai.doc.tensorio.tflite.model.TFLiteModel.HardwareBacking.*