aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTfParser/test
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/armnnTfParser/test
parent4951d84b1174a4bb0a5d9c900740f64201f765bf (diff)
downloadarmnn-4057d91322738e446c0c2ce5f3a8cf665d935763.tar.gz
IVGCVSW-2515 Fix compilation when TfParser is disabled
Change-Id: Ia0019134f76764cd4fe6ed9dc1423b8aba411d33
Diffstat (limited to 'src/armnnTfParser/test')
-rw-r--r--src/armnnTfParser/test/Mean.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/armnnTfParser/test/Mean.cpp b/src/armnnTfParser/test/Mean.cpp
index 13041629b5..d73682961f 100644
--- a/src/armnnTfParser/test/Mean.cpp
+++ b/src/armnnTfParser/test/Mean.cpp
@@ -3,9 +3,12 @@
// SPDX-License-Identifier: MIT
//
-#include <boost/test/unit_test.hpp>
#include "armnnTfParser/ITfParser.hpp"
-#include "ParserPrototxtFixture.hpp"
+
+#include <ParserPrototxtFixture.hpp>
+#include <PrototxtConversions.hpp>
+
+#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(TensorflowParser)
@@ -29,7 +32,7 @@ struct MeanFixture : public armnnUtils::ParserPrototxtFixture<armnnTfParser::ITf
for (unsigned int i = 0; i < protobufAxis.size(); ++i)
{
- protobufAxisString.append(ConvertInt32ToOctalString(static_cast<int>(protobufAxis[i])));
+ protobufAxisString.append(armnnUtils::ConvertInt32ToOctalString(static_cast<int>(protobufAxis[i])));
}
m_Prototext = R"(node {