summaryrefslogtreecommitdiff
path: root/tools/nnpackage_tool/tflite2circle/README.md
blob: 94ef5068c88466567e2710c48b9270ba074fbe41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# tflite2circle

`tflite2circle` is a tool to convert tflite into circle.

## Usage

```
Usage: tflite2circle.sh [options] tflite
Convert tflite to circle

Returns
     0       success
  non-zero   failure

Options:
    -h   show this help
    -o   set output directory (default=.)

Environment variables:
   flatc           path to flatc
                   (default=./build/externals/FLATBUFFERS/build/flatc)
   tflite_schema   path to schema.fbs
                   (default=./externals/TENSORFLOW-1.12/tensorflow/contrib/lite/schema/schema.fbs)

Examples:
    tflite2circle.sh Add_000.tflite         => convert Add_000.tflite into Add_000.circle
    tflite2circle.sh -o my/circles Add_000  => convert Add_000.tflite into my/circles/Add_000.circle
```