diff options
author | Éanna Ó Catháin <eanna.ocathain@arm.com> | 2019-05-10 13:29:13 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-05-10 14:29:36 +0000 |
commit | 5696bff29143667ffd69856e4939cecfbcbd03b3 (patch) | |
tree | 77e51754e25b83747b7b8d1dd43a050bdd79bccc /src/armnnQuantizer/CommandLineProcessor.cpp | |
parent | 5200afa2742ad9cd1cda7fbce8604794c0616818 (diff) | |
download | armnn-5696bff29143667ffd69856e4939cecfbcbd03b3.tar.gz |
IVGCVSW-3063 Modify Quantizer tool to take command line input
for preserving input/output types
Change-Id: Ib30f1e2e58407526cd881fec33f45fc4e4ed4afe
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
Diffstat (limited to 'src/armnnQuantizer/CommandLineProcessor.cpp')
-rw-r--r-- | src/armnnQuantizer/CommandLineProcessor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/armnnQuantizer/CommandLineProcessor.cpp b/src/armnnQuantizer/CommandLineProcessor.cpp index 4f0d989d3f..758726e72a 100644 --- a/src/armnnQuantizer/CommandLineProcessor.cpp +++ b/src/armnnQuantizer/CommandLineProcessor.cpp @@ -97,6 +97,8 @@ bool CommandLineProcessor::ProcessCommandLine(int argc, char* argv[]) "Quantization scheme, \"QAsymm8\" or \"QSymm16\", default value QAsymm8") ("csvfile,c", po::value<std::string>(&m_CsvFileName)->default_value(""), "CSV file containing paths for RAW input tensors") + ("preserve-data-type,p", po::bool_switch(&m_PreserveDataType)->default_value(false), + "Preserve the input and output data types") ("outdir,d", po::value<std::string>(&m_OutputDirectory)->required(), "Directory that output file will be written to") ("outfile,o", po::value<std::string>(&m_OutputFileName)->required(), "Output file name"); |