3 `tflite2nnpkgtc` is a tool to convert tflite to nnpackage test case.
4 It takes `tflite` as input and generates `nnpackage` + golden data for value test.
8 Install tensorflow >= 1.12. It is tested with tensorflow 1.13, 1.14 and 2.0.
13 $ ./tflite2nnpkgtc.sh -h
14 Usage: tflite2nnpkgtc.sh [options] tflite
15 Convert tflite to nnpkg-tc
23 -o set output directory (default=.)
30 $ tools/nnpackage_tool/sth2nnpkgtc/tflite2nnpkgtc.sh -o nnpkg-tcs cast.tflite
31 Generating nnpackage cast in nnpkg-tcs
33 # then, nnpkg is generated in $outdir/$basename
44 # run nnpkg with nnpackage_run and compare with h5diff
45 $ tests/scripts/nnpkg_test.sh -i nnpkg-tcs cast