diff options
Diffstat (limited to 'src/armnnUtils/ParserPrototxtFixture.hpp')
-rw-r--r-- | src/armnnUtils/ParserPrototxtFixture.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/armnnUtils/ParserPrototxtFixture.hpp b/src/armnnUtils/ParserPrototxtFixture.hpp index 154f6bec2a..be35e460cf 100644 --- a/src/armnnUtils/ParserPrototxtFixture.hpp +++ b/src/armnnUtils/ParserPrototxtFixture.hpp @@ -9,8 +9,6 @@ #include <test/TensorHelpers.hpp> -#include <armnnOnnxParser/IOnnxParser.hpp> - #include <Network.hpp> #include <VerificationHelpers.hpp> @@ -61,9 +59,6 @@ struct ParserPrototxtFixture void RunTest(const std::map<std::string, std::vector<float>>& inputData, const std::map<std::string, std::vector<float>>& expectedOutputData); - /// Converts an int value into the Protobuf octal representation - std::string ConvertInt32ToOctalString(int value); - std::string m_Prototext; std::unique_ptr<TParser, void(*)(TParser* parser)> m_Parser; armnn::IRuntimePtr m_Runtime; @@ -253,19 +248,4 @@ void ParserPrototxtFixture<TParser>::RunTest(const std::map<std::string, std::ve } } -template<typename TParser> -std::string ParserPrototxtFixture<TParser>::ConvertInt32ToOctalString(int value) -{ - std::stringstream ss; - std::string returnString; - for (int i = 0; i < 4; ++i) - { - ss << "\\"; - ss << std::setw(3) << std::setfill('0') << std::oct << ((value >> (i * 8)) & 0xFF); - } - - ss >> returnString; - return returnString; -} - } // namespace armnnUtils |