forked from am15h/tflite_flutter_plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cda8faa
commit b03b432
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
[![Build Status](https://travis-ci.org/dart-lang/tflite_native.svg?branch=master)](https://travis-ci.org/dart-lang/tflite_native) | ||
|
||
## What is it? | ||
|
||
A Dart interface to [TensorFlow Lite (tflite)](https://www.tensorflow.org/lite) | ||
through Dart's | ||
[foreign function interface (FFI)](https://dart.dev/server/c-interop). | ||
This library wraps the experimental tflite | ||
[C API](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/experimental/c/c_api.h). | ||
|
||
This package supports desktop use cases (Linux, OSX, Windows, etc) and Flutter | ||
developers should consider | ||
[flutter_tflite](https://github.com/shaqian/flutter_tflite). For example, this | ||
package locates a tflite dynamic library through `Isolate.resolvePackageUri` | ||
which doesn't translate perfectly in the Flutter context | ||
(see https://github.com/flutter/flutter/issues/14815). | ||
## 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](https://github.com/shaqian/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). |