20.11
|
Classes | |
class | CommandLineProcessor |
class | InputLayerVisitor |
Visitor class implementation to gather the TensorInfo for LayerBindingID for creation of ConstTensor for Refine. More... | |
class | QuantizationDataSet |
QuantizationDataSet is a structure which is created after parsing a quantization CSV file. More... | |
class | QuantizationInput |
QuantizationInput for specific pass ID, can list a corresponding raw data file for each LayerBindingId. More... | |
Functions | |
bool | ValidateOutputDirectory (std::string &dir) |
bool | ValidateProvidedFile (const std::string &inputFileName) |
bool | ValidateQuantizationScheme (const std::string &scheme) |
void | AddInputData (unsigned int passId, armnn::LayerBindingId bindingId, const std::string &inputFilePath, std::map< unsigned int, QuantizationInput > &passIdToQuantizationInput) |
unsigned int | GetPassIdFromCsvRow (std::vector< std::string > tokens, unsigned int lineIndex) |
armnn::LayerBindingId | GetBindingIdFromCsvRow (std::vector< std::string > tokens, unsigned int lineIndex) |
std::string | GetFileNameFromCsvRow (std::vector< std::string > tokens, unsigned int lineIndex) |
void armnnQuantizer::AddInputData | ( | unsigned int | passId, |
armnn::LayerBindingId | bindingId, | ||
const std::string & | inputFilePath, | ||
std::map< unsigned int, QuantizationInput > & | passIdToQuantizationInput | ||
) |
armnn::LayerBindingId armnnQuantizer::GetBindingIdFromCsvRow | ( | std::vector< std::string > | tokens, |
unsigned int | lineIndex | ||
) |
Definition at line 87 of file QuantizationDataSet.cpp.
Referenced by GetFileNameFromCsvRow().
std::string armnnQuantizer::GetFileNameFromCsvRow | ( | std::vector< std::string > | tokens, |
unsigned int | lineIndex | ||
) |
Definition at line 102 of file QuantizationDataSet.cpp.
References AddInputData(), GetBindingIdFromCsvRow(), GetPassIdFromCsvRow(), armnn::stringUtils::StringTokenizer(), and armnn::stringUtils::StringTrim().
unsigned int armnnQuantizer::GetPassIdFromCsvRow | ( | std::vector< std::string > | tokens, |
unsigned int | lineIndex | ||
) |
Definition at line 72 of file QuantizationDataSet.cpp.
Referenced by GetFileNameFromCsvRow().
bool armnnQuantizer::ValidateOutputDirectory | ( | std::string & | dir | ) |
Definition at line 14 of file CommandLineProcessor.cpp.
Referenced by CommandLineProcessor::ProcessCommandLine().
bool armnnQuantizer::ValidateProvidedFile | ( | const std::string & | inputFileName | ) |
Definition at line 42 of file CommandLineProcessor.cpp.
Referenced by CommandLineProcessor::ProcessCommandLine().
bool armnnQuantizer::ValidateQuantizationScheme | ( | const std::string & | scheme | ) |
Definition at line 59 of file CommandLineProcessor.cpp.
Referenced by CommandLineProcessor::ProcessCommandLine().