aboutsummaryrefslogtreecommitdiff
path: root/src/armnnUtils/ParserPrototxtFixture.hpp
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2019-01-21 15:45:51 +0000
committerAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-01-23 10:12:51 +0000
commit4057d91322738e446c0c2ce5f3a8cf665d935763 (patch)
tree352dff895fd187ed83d0448294505a76092c4bab /src/armnnUtils/ParserPrototxtFixture.hpp
parent4951d84b1174a4bb0a5d9c900740f64201f765bf (diff)
downloadarmnn-4057d91322738e446c0c2ce5f3a8cf665d935763.tar.gz
IVGCVSW-2515 Fix compilation when TfParser is disabled
Change-Id: Ia0019134f76764cd4fe6ed9dc1423b8aba411d33
Diffstat (limited to 'src/armnnUtils/ParserPrototxtFixture.hpp')
-rw-r--r--src/armnnUtils/ParserPrototxtFixture.hpp20
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