From bc5f784d34a5315748b56cecb4674f4e546da2cd Mon Sep 17 00:00:00 2001 From: kevmay01 Date: Thu, 30 Aug 2018 12:34:39 +0100 Subject: IVGCVSW-1770: Refactor ModelToINetworkConverter to allow conversion of HAL1.1 operators Change-Id: I9b10f0a9c88344df108b2325c0233f9660fa6b7c --- Utils.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'Utils.cpp') diff --git a/Utils.cpp b/Utils.cpp index 38a8cd31..726e130f 100644 --- a/Utils.cpp +++ b/Utils.cpp @@ -112,37 +112,6 @@ std::string GetOperandSummary(const Operand& operand) toString(operand.type); } -std::string GetModelSummary(const neuralnetworks::V1_0::Model& model) -{ - std::stringstream result; - - result << model.inputIndexes.size() << " input(s), " << model.operations.size() << " operation(s), " << - model.outputIndexes.size() << " output(s), " << model.operands.size() << " operand(s)" << std::endl; - - result << "Inputs: "; - for (uint32_t i = 0; i < model.inputIndexes.size(); i++) - { - result << GetOperandSummary(model.operands[model.inputIndexes[i]]) << ", "; - } - result << std::endl; - - result << "Operations: "; - for (uint32_t i = 0; i < model.operations.size(); i++) - { - result << toString(model.operations[i].type).c_str() << ", "; - } - result << std::endl; - - result << "Outputs: "; - for (uint32_t i = 0; i < model.outputIndexes.size(); i++) - { - result << GetOperandSummary(model.operands[model.outputIndexes[i]]) << ", "; - } - result << std::endl; - - return result.str(); -} - using DumpElementFunction = void (*)(const armnn::ConstTensor& tensor, unsigned int elementIndex, std::ofstream& fileStream); -- cgit v1.2.1