aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test/TestLayerVisitor.hpp
diff options
context:
space:
mode:
authorjimfly01 <jim.flynn@arm.com>2019-02-05 09:20:11 +0000
committerJim Flynn <jim.flynn@arm.com>2019-02-07 16:00:12 +0000
commitaebf2e7871997378d33fa99f7cab6322be9b726f (patch)
treeaef3f6fd05aafbee10100de85ec2e766d4f92ef7 /src/armnn/test/TestLayerVisitor.hpp
parent857aa45407df9dbe99a11d03a4be2b20bd0110ae (diff)
downloadarmnn-aebf2e7871997378d33fa99f7cab6322be9b726f.tar.gz
IVGCVSW-2553 Add Unit Test for ConstTensor layer visitors
Change-Id: I20a67135e4af7aa1f28f5000d73122f4e5e3acd5 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/armnn/test/TestLayerVisitor.hpp')
-rw-r--r--src/armnn/test/TestLayerVisitor.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/armnn/test/TestLayerVisitor.hpp b/src/armnn/test/TestLayerVisitor.hpp
index 1998fb9b3b..5775df0e61 100644
--- a/src/armnn/test/TestLayerVisitor.hpp
+++ b/src/armnn/test/TestLayerVisitor.hpp
@@ -5,6 +5,7 @@
#pragma once
#include <armnn/ILayerVisitor.hpp>
+#include <armnn/Descriptors.hpp>
namespace armnn
{
@@ -18,6 +19,8 @@ protected:
void CheckLayerPointer(const IConnectableLayer* layer);
+ void CheckConstTensors(const ConstTensor& expected, const ConstTensor& actual);
+
private:
const char* m_LayerName;