blob: 9e5ae29389404b4be09d361abe83aaaef0a5f1ea (
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
|
# 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.*
```
|