summaryrefslogtreecommitdiff
path: root/tools/nnpackage_tool/tflite2circle/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nnpackage_tool/tflite2circle/README.md')
-rw-r--r--tools/nnpackage_tool/tflite2circle/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/nnpackage_tool/tflite2circle/README.md b/tools/nnpackage_tool/tflite2circle/README.md
new file mode 100644
index 000000000..94ef5068c
--- /dev/null
+++ b/tools/nnpackage_tool/tflite2circle/README.md
@@ -0,0 +1,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
+```