aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Descriptors.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2019-03-08 11:08:30 +0000
committerJim Flynn <jim.flynn@arm.com>2019-03-12 10:43:34 +0000
commit18ce338711fc3ea44a7731eac795964256beac6c (patch)
tree93467a86f34cea694e08bf539b3d315680771a3a /src/armnn/Descriptors.cpp
parent1b4d7b1e0646104210f626e7f9613c506f097e90 (diff)
downloadarmnn-18ce338711fc3ea44a7731eac795964256beac6c.tar.gz
IVGCVSW-2709 Serialize / de-serialize the Splitter layer
* fixed typo in Ref Merger Workload comment * fixed typo in ViewsDescriptor comment * made the origins descriptor accessable in the ViewsDescriptor (needed for serialization) * based the unit test on the use of the splitter in the CaffeParser Change-Id: I3e716839adb4eee5a695633377b49e7e18ec2aa9 Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/armnn/Descriptors.cpp')
-rw-r--r--src/armnn/Descriptors.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/Descriptors.cpp b/src/armnn/Descriptors.cpp
index 43f41a7397..a6339cf08e 100644
--- a/src/armnn/Descriptors.cpp
+++ b/src/armnn/Descriptors.cpp
@@ -290,6 +290,11 @@ const uint32_t* ViewsDescriptor::GetViewSizes(uint32_t idx) const
return m_ViewSizes ? m_ViewSizes[idx] : nullptr;
}
+const OriginsDescriptor& ViewsDescriptor::GetOrigins() const
+{
+ return m_Origins;
+}
+
void swap(OriginsDescriptor& first, OriginsDescriptor& second)
{
using std::swap;