From ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94 Mon Sep 17 00:00:00 2001 From: telsoa01 Date: Fri, 31 Aug 2018 09:31:35 +0100 Subject: Release 18.08 --- test/UtilsTests.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'test/UtilsTests.cpp') diff --git a/test/UtilsTests.cpp b/test/UtilsTests.cpp index e7e6cde7..72b6d361 100644 --- a/test/UtilsTests.cpp +++ b/test/UtilsTests.cpp @@ -16,9 +16,10 @@ BOOST_AUTO_TEST_SUITE(UtilsTests) -using namespace armnn_driver; -using namespace android::nn; using namespace android; +using namespace android::nn; +using namespace android::hardware; +using namespace armnn_driver; // The following are helpers for writing unit tests for the driver. namespace @@ -28,9 +29,9 @@ struct ExportNetworkGraphFixture { public: // Setup: set the output dump directory and an empty dummy model (as only its memory address is used). - // Defaulting the output dump directory to "/sdcard" because it should exist and be writable in all deployments. + // Defaulting the output dump directory to "/data" because it should exist and be writable in all deployments. ExportNetworkGraphFixture() - : ExportNetworkGraphFixture("/sdcard") + : ExportNetworkGraphFixture("/data") {} ExportNetworkGraphFixture(const std::string& requestInputsAndOutputsDumpDir) : m_RequestInputsAndOutputsDumpDir(requestInputsAndOutputsDumpDir) @@ -95,7 +96,7 @@ public: } std::string m_RequestInputsAndOutputsDumpDir; - V1_0::Model m_Model; + neuralnetworks::V1_0::Model m_Model; private: std::string m_FileName; -- cgit v1.2.1