aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test/CreateWorkload.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-05-01 10:31:27 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-05-03 14:35:34 +0000
commit602af090a6b7285dc1041e3d8424836e5fa12cef (patch)
tree8ffccd841a911164a022e98e57630ba348ceb796 /src/armnn/test/CreateWorkload.hpp
parent59e15b00ea51fee4baeea750dc11ab1952dfab1d (diff)
downloadarmnn-602af090a6b7285dc1041e3d8424836e5fa12cef.tar.gz
IVGCVSW-3029 Remove any AddLayer capabilities from SubgraphView
* Removed the reference to the parent graph in SubgraphView * Removed the AddLayer method in SubgraphView * Updated the code where necessary to adapt to the new changes in SubgraphView * Fixed a check in the CreatePreCompiledWorkloadTest test function Change-Id: I4d3af87f11ec3cd8f18a21b250a2d295da56e1a0 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/armnn/test/CreateWorkload.hpp')
-rw-r--r--src/armnn/test/CreateWorkload.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/test/CreateWorkload.hpp b/src/armnn/test/CreateWorkload.hpp
index bdec766067..a68a6e3f42 100644
--- a/src/armnn/test/CreateWorkload.hpp
+++ b/src/armnn/test/CreateWorkload.hpp
@@ -1203,7 +1203,7 @@ std::pair<armnn::IOptimizedNetworkPtr, std::unique_ptr<PreCompiledWorkload>> Cre
preCompiledLayer = layer;
}
}
- BOOST_TEST(preCompiledLayer);
+ BOOST_CHECK(preCompiledLayer != nullptr);
// Create the TensorHandles.
CreateTensorHandles(optimisedGraph, factory);