From b6e1756848a7e662dfdc0e97b421e2bb24db52b9 Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Thu, 16 May 2019 16:40:41 +0100 Subject: IVGCVSW-3036 Change Armnn Quantizer to specify Armnn format Signed-off-by: FinnWilliamsArm Change-Id: I776a97ff54ea3ccc28b62afe3c512cbdc7252811 --- src/armnnQuantizer/CommandLineProcessor.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/armnnQuantizer/CommandLineProcessor.cpp b/src/armnnQuantizer/CommandLineProcessor.cpp index 758726e72a..d2163c0869 100644 --- a/src/armnnQuantizer/CommandLineProcessor.cpp +++ b/src/armnnQuantizer/CommandLineProcessor.cpp @@ -101,7 +101,7 @@ bool CommandLineProcessor::ProcessCommandLine(int argc, char* argv[]) "Preserve the input and output data types") ("outdir,d", po::value(&m_OutputDirectory)->required(), "Directory that output file will be written to") - ("outfile,o", po::value(&m_OutputFileName)->required(), "Output file name"); + ("outfile,o", po::value(&m_OutputFileName)->required(), "ArmNN output file name"); } catch (const std::exception& e) { @@ -115,8 +115,10 @@ bool CommandLineProcessor::ProcessCommandLine(int argc, char* argv[]) { po::store(po::parse_command_line(argc, argv, desc), vm); - if (vm.count("help")) + if (vm.count("help") || argc <= 1) { + std::cout << "Convert a Fp32 ArmNN model to a quantized ArmNN model." << std::endl; + std::cout << std::endl; std::cout << desc << std::endl; return false; } -- cgit v1.2.1