dart-archive / tflite_native

A Dart interface to TensorFlow Lite (tflite) through dart:ffi
https://pub.dev/packages/tflite_native
BSD 3-Clause "New" or "Revised" License
125 stars 18 forks source link
ffi tensorflow tflite

Build Status

Status

Note, this package has been discontinued - no support or maintenance is planned.

What is it?

A Dart interface to TensorFlow Lite (tflite) through Dart's foreign function interface (FFI). This library wraps the experimental tflite C API.

What Dart platforms does this package support?

This package supports desktop use cases (Linux, OSX, Windows, etc).

What if I want TensorFlow Lite support for Flutter apps?

Flutter developers should instead consider using the Flutter plugin flutter_tflite (among the issues using this package with Flutter, we locate the tflite dynamic library through Isolate.resolvePackageUri, which doesn't translate perfectly in the Flutter context (see https://github.com/flutter/flutter/issues/14815).