diff options
author | Chunseok Lee <chunseok.lee@samsung.com> | 2020-03-05 15:10:09 +0900 |
---|---|---|
committer | Chunseok Lee <chunseok.lee@samsung.com> | 2020-03-05 15:22:53 +0900 |
commit | d91a039e0eda6fd70dcd22672b8ce1817c1ca50e (patch) | |
tree | 62668ec548cf31fadbbf4e99522999ad13434a25 /tools/nnpackage_tool/nnpkg_test/README.md | |
parent | bd11b24234d7d43dfe05a81c520aa01ffad06e42 (diff) | |
download | nnfw-d91a039e0eda6fd70dcd22672b8ce1817c1ca50e.tar.gz nnfw-d91a039e0eda6fd70dcd22672b8ce1817c1ca50e.tar.bz2 nnfw-d91a039e0eda6fd70dcd22672b8ce1817c1ca50e.zip |
catch up to tizen_5.5 and remove unness dir
- update to tizen_5.5
- remove dirs
Diffstat (limited to 'tools/nnpackage_tool/nnpkg_test/README.md')
-rw-r--r-- | tools/nnpackage_tool/nnpkg_test/README.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/nnpackage_tool/nnpkg_test/README.md b/tools/nnpackage_tool/nnpkg_test/README.md new file mode 100644 index 000000000..916877a3d --- /dev/null +++ b/tools/nnpackage_tool/nnpkg_test/README.md @@ -0,0 +1,42 @@ +# nnpkg_test + +`nnpkg_test` is a tool to run an nnpackage testcase. + +`nnpackage testcase` is an nnpackage with additional data: + +- input.h5 (input data) +- expected.h5 (expected outpute data) + +`nnpkg_test` uses `nnpackage_run` internally to run `nnpackage`. + +Then, it compares through `difftool` (either `i5diff` or `h5diff`). + +`nnpkg_test` returns `0` on success, `non-zero` otherwise. + +## Usage + +``` +$ tools/nnpackage_tool/nnpkg_test/nnpkg_test.sh -h +Usage: nnpkg_test.sh [options] nnpackage_test +Run an nnpackage testcase + +Returns + 0 success + non-zero failure + +Options: + -h show this help + -i set input directory (default=.) + -o set output directory (default=.) + -d delete dumped file on failure. + (dumped file are always deleted on success) (default=0) + +Environment variables: + nnpackage_run path to nnpackage_run (default=Product/out/bin/nnpackage_run) + difftool path to i5diff or h5diff (default=h5diff) + +Examples: + nnpkg_test.sh Add_000 => run ./Add_000 and check output + nnpkg_test.sh -i nnpkg-tcs Add_000 => run nnpkg-tcs/Add_000 and check output + +``` |