Skip to content

Commit

Permalink
Update README.md (am15h#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Nov 20, 2019
1 parent cda8faa commit b03b432
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
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).

0 comments on commit b03b432

Please sign in to comment.