diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2021-04-02 22:04:39 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2021-04-16 14:27:27 +0100 |
commit | 6dd178f2395b34cfb360eabb0130c19ed258f5fa (patch) | |
tree | 6814e4729bbd1e652d8b9c18c9db28f3bc2f8a8a /src/armnnCaffeParser/test/TestDropout.cpp | |
parent | ed7fce413410d15c501ea52f9e6bfbbf71b3daf1 (diff) | |
download | armnn-6dd178f2395b34cfb360eabb0130c19ed258f5fa.tar.gz |
IVGCVSW-5720 Remove the Caffe Parser from ArmNN
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ib00be204f549efa9aa5971ecf65c2dec4a10b10f
Diffstat (limited to 'src/armnnCaffeParser/test/TestDropout.cpp')
-rw-r--r-- | src/armnnCaffeParser/test/TestDropout.cpp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/armnnCaffeParser/test/TestDropout.cpp b/src/armnnCaffeParser/test/TestDropout.cpp deleted file mode 100644 index 503766248b..0000000000 --- a/src/armnnCaffeParser/test/TestDropout.cpp +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#include <boost/test/unit_test.hpp> -#include "armnnCaffeParser/ICaffeParser.hpp" -#include "ParserPrototxtFixture.hpp" - -BOOST_AUTO_TEST_SUITE(CaffeParser) - -struct DropoutFixture : public armnnUtils::ParserPrototxtFixture<armnnCaffeParser::ICaffeParser> -{ - DropoutFixture() - { - m_Prototext = "name: \"DropoutFixture\"\n" - "layer {\n" - " name: \"data\"\n" - " type: \"Input\"\n" - " top: \"data\"\n" - " input_param { shape: { dim: 1 dim: 1 dim: 2 dim: 2 } }\n" - "}\n" - "layer {\n" - " bottom: \"data\"\n" - " top: \"drop1\"\n" - " name: \"drop1\"\n" - " type: \"Dropout\"\n" - "}\n" - "layer {\n" - " bottom: \"drop1\"\n" - " bottom: \"drop1\"\n" - " top: \"add\"\n" - " name: \"add\"\n" - " type: \"Eltwise\"\n" - "}\n"; - SetupSingleInputSingleOutput("data", "add"); - } -}; - -BOOST_FIXTURE_TEST_CASE(ParseDropout, DropoutFixture) -{ - RunTest<4>( - { - 1, 2, - 3, 4, - }, - { - 2, 4, - 6, 8 - }); -} - -BOOST_AUTO_TEST_SUITE_END() |