diff options
Diffstat (limited to 'tests/tools/onert_run/src/args.cc')
-rw-r--r-- | tests/tools/onert_run/src/args.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tools/onert_run/src/args.cc b/tests/tools/onert_run/src/args.cc index 1e9d1aa69..a64d81db5 100644 --- a/tests/tools/onert_run/src/args.cc +++ b/tests/tools/onert_run/src/args.cc @@ -299,6 +299,10 @@ void Args::Initialize(void) "0: prints the only result. Messages btw run don't print\n" "1: prints result and message btw run\n" "2: prints all of messages to print\n") + ("quantize,q", po::value<std::string>()->default_value("")->notifier([&](const auto &v) { _quantize = v; }), "Request quantization with type (int8 or int16)") + ("qpath", po::value<std::string>()->default_value("")->notifier([&](const auto &v) { _quantized_model_path = v; }), + "Path to export quantized model.\n" + "If it is not set, the quantized model will be exported to the same directory of the original model/package with q8/q16 suffix.") ; // clang-format on |