2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
5 #include <boost/test/unit_test.hpp>
6 #include "armnnCaffeParser/ICaffeParser.hpp"
7 #include "ParserPrototxtFixture.hpp"
9 BOOST_AUTO_TEST_SUITE(CaffeParser)
11 struct GlobalPoolingFixture : public armnnUtils::ParserPrototxtFixture<armnnCaffeParser::ICaffeParser>
13 GlobalPoolingFixture()
15 m_Prototext = "name: \"GlobalPooling\"\n"
20 " input_param { shape: { dim: 1 dim: 3 dim: 2 dim: 2 } }\n"
26 " type: \"Pooling\"\n"
29 " global_pooling: true\n"
32 SetupSingleInputSingleOutput("data", "pool1");
36 BOOST_FIXTURE_TEST_CASE(GlobalPooling, GlobalPoolingFixture)
54 BOOST_AUTO_TEST_SUITE_END()