aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTfLiteParser/test/DetectionPostProcess.cpp
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-02-15 18:23:17 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2021-02-15 18:23:17 +0000
commit3d2b4b2bff3be27f12a99e0e01284078870ee954 (patch)
tree33a9ea2a3267707088fd0a4a727d73a4568bb0a6 /src/armnnTfLiteParser/test/DetectionPostProcess.cpp
parent052fbe9c86628cfdc534c515d9b451aa8d3d1cb6 (diff)
downloadarmnn-3d2b4b2bff3be27f12a99e0e01284078870ee954.tar.gz
IVGCVSW-4873 Implement Pimpl Idiom for INetwork and IOptimizedNetwork
!android-nn-driver:5042 Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ia1ce8b839e81b46428ba0f78463e085e5906958d Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Diffstat (limited to 'src/armnnTfLiteParser/test/DetectionPostProcess.cpp')
-rw-r--r--src/armnnTfLiteParser/test/DetectionPostProcess.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/armnnTfLiteParser/test/DetectionPostProcess.cpp b/src/armnnTfLiteParser/test/DetectionPostProcess.cpp
index cb4173a620..304520c24f 100644
--- a/src/armnnTfLiteParser/test/DetectionPostProcess.cpp
+++ b/src/armnnTfLiteParser/test/DetectionPostProcess.cpp
@@ -241,8 +241,7 @@ BOOST_FIXTURE_TEST_CASE(DetectionPostProcessGraphStructureTest, ParseDetectionPo
auto optimized = Optimize(*network, { armnn::Compute::CpuRef }, m_Runtime->GetDeviceSpec());
- auto optimizedNetwork = armnn::PolymorphicDowncast<armnn::OptimizedNetwork*>(optimized.get());
- auto graph = optimizedNetwork->GetGraph();
+ armnn::Graph& graph = GetGraphForTesting(optimized.get());
// Check the number of layers in the graph
BOOST_TEST((graph.GetNumInputs() == 2));