From 120196d394eb5af4b28f78396d1a225ca47cf274 Mon Sep 17 00:00:00 2001 From: Saoirse Stewart Date: Thu, 28 Feb 2019 11:32:41 +0000 Subject: IVGCVSW-2598 Update attribute to use num_split Change-Id: I5de0e0a2de9241498213d274a6bf2a62ba7da7cc Signed-off-by: Saoirse Stewart --- src/armnnTfParser/TfParser.cpp | 4 ++-- src/armnnTfParser/test/Split.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/armnnTfParser/TfParser.cpp b/src/armnnTfParser/TfParser.cpp index 1e304cbfd7..8e57e56917 100755 --- a/src/armnnTfParser/TfParser.cpp +++ b/src/armnnTfParser/TfParser.cpp @@ -2637,8 +2637,8 @@ ParsedTfOperationPtr TfParser::ParseSplit(const tensorflow::NodeDef& nodeDef, % CHECK_LOCATION().AsString())); } - // As Armnn only supports splitter outputs of the same shape, therefore num_splits will be limited to an integer. - uint32_t num_split = ReadMandatoryNodeUint32Attribute(nodeDef, "num_or_size_splits"); + // As Armnn only supports splitter outputs of the same shape, therefore num_split will be limited to an integer. + uint32_t num_split = ReadMandatoryNodeUint32Attribute(nodeDef, "num_split"); IOutputSlot& inputSlot = inputs[1 - index].m_IndexedValue->ResolveArmnnOutputSlot(inputs[1 - index].m_Index); TensorInfo inputTensorInfo = inputSlot.GetTensorInfo(); diff --git a/src/armnnTfParser/test/Split.cpp b/src/armnnTfParser/test/Split.cpp index 87cd6544c9..bf42bf7c5d 100644 --- a/src/armnnTfParser/test/Split.cpp +++ b/src/armnnTfParser/test/Split.cpp @@ -106,7 +106,7 @@ struct SplitFixture : public armnnUtils::ParserPrototxtFixture