summaryrefslogtreecommitdiff
path: root/tools/nnpackage_tool/nncc-tc-to-nnpkg-tc/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nnpackage_tool/nncc-tc-to-nnpkg-tc/README.md')
-rw-r--r--tools/nnpackage_tool/nncc-tc-to-nnpkg-tc/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/nnpackage_tool/nncc-tc-to-nnpkg-tc/README.md b/tools/nnpackage_tool/nncc-tc-to-nnpkg-tc/README.md
new file mode 100644
index 000000000..9e5ae2938
--- /dev/null
+++ b/tools/nnpackage_tool/nncc-tc-to-nnpkg-tc/README.md
@@ -0,0 +1,26 @@
+# nncc-tc-to-nnpkg-tc
+
+`model2nnpkg` is a tool to convert model (either `tflite` or `circle`) to `nnpackage`.
+
+It takes `modelfile` as input and generates `nnpackage`.
+
+## Usage
+
+```
+Usage: nncc-tc-to-nnpkg-tc.sh [options] nncc_tc_name
+Convert nncc testcase to nnpackage testcase.
+
+Options:
+ -h show this help
+ -i set input directory (default=.)
+ -o set nnpackage testcase output directory (default=.)
+
+Env:
+ model2nnpkg path to model2nnpkg tool (default={this_script_home}/../model2nnpkg)
+
+Examples:
+ nncc-tc-to-nnpkg-tc.sh -i build/compiler/tf2tflite UNIT_Add_000
+ => create nnpackage testcase in ./ from build/compiler/tf2tflite/UNIT_Add_000.*
+ nncc-tc-to-nnpkg-tc.sh -o out UNIT_Add_000
+ => create nnpackage testcase in out/ using ./UNIT_Add_000.*
+```