From 5e90aab1cc25681c3e02b4d4436c24ee43400e91 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 14 Feb 2020 14:46:51 +0000 Subject: COMPMID-3059: Add TF parser support for StridedSlice Signed-off-by: Georgios Pinitas Change-Id: I31f25f26a50c9054b5650b1be127c84194b56be7 --- src/armnnTfParser/test/Gather.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/armnnTfParser/test/Gather.cpp') diff --git a/src/armnnTfParser/test/Gather.cpp b/src/armnnTfParser/test/Gather.cpp index f40dc57556..a6c20fd63e 100644 --- a/src/armnnTfParser/test/Gather.cpp +++ b/src/armnnTfParser/test/Gather.cpp @@ -12,9 +12,10 @@ BOOST_AUTO_TEST_SUITE(TensorflowParser) +namespace { // helper for setting the dimensions in prototxt void dimsHelper(const std::vector& dims, std::string& text){ - for(u_int i=0; i& dims, std::string& text){ // helper for converting from integer to octal representation void octalHelper(const std::vector& indicesContent, std::string& text){ - for (unsigned int i = 0; i < indicesContent.size(); ++i) - { + for(unsigned int i = 0; i < indicesContent.size(); ++i) { text.append(armnnUtils::ConvertInt32ToOctalString(static_cast(indicesContent[i]))); } } +} // namespace struct GatherFixture : public armnnUtils::ParserPrototxtFixture { -- cgit v1.2.1