summaryrefslogtreecommitdiff
path: root/compiler/one-cmds/tests/prepare_test_materials.sh
diff options
context:
space:
mode:
authorChunseok Lee <chunseok.lee@samsung.com>2021-10-19 11:32:46 +0900
committerChunseok Lee <chunseok.lee@samsung.com>2021-10-19 11:32:46 +0900
commit33ae5d70a1ed85d215c1293ed63afbf3517b07d5 (patch)
tree9f1ace0f4760a8f7903ef15e2e92f1d1401e4b1e /compiler/one-cmds/tests/prepare_test_materials.sh
parentf4cf19e579a19c5346ccb2aad55bfd251065e447 (diff)
downloadnnfw-33ae5d70a1ed85d215c1293ed63afbf3517b07d5.tar.gz
nnfw-33ae5d70a1ed85d215c1293ed63afbf3517b07d5.tar.bz2
nnfw-33ae5d70a1ed85d215c1293ed63afbf3517b07d5.zip
Diffstat (limited to 'compiler/one-cmds/tests/prepare_test_materials.sh')
-rw-r--r--compiler/one-cmds/tests/prepare_test_materials.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/one-cmds/tests/prepare_test_materials.sh b/compiler/one-cmds/tests/prepare_test_materials.sh
index 694651d74..7f269530c 100644
--- a/compiler/one-cmds/tests/prepare_test_materials.sh
+++ b/compiler/one-cmds/tests/prepare_test_materials.sh
@@ -103,4 +103,14 @@ if [[ ! -s ${outputfile} ]]; then
--output_arrays InceptionV3/Predictions/Reshape_1
fi
+# prepare 'inception_v3.mat.q8.circle' file used for quantization test
+inputfile="./inception_v3.circle"
+outputfile="./inception_v3.mat.q8.circle"
+
+if [[ ! -s ${outputfile} ]]; then
+ ../bin/one-quantize \
+ --input_path ${inputfile} \
+ --output_path ${outputfile}
+fi
+
popd > /dev/null