diff options
author | ruoyan01 <ruomei.yan@arm.com> | 2019-02-20 13:53:22 +0000 |
---|---|---|
committer | Saoirse Stewart Arm <saoirse.stewart@arm.com> | 2019-02-21 08:58:41 +0000 |
commit | 23e1de6a75feee81db67034cebf0e92b4d2ac161 (patch) | |
tree | 54e6a97f597def3e2da7dded4c587bf7f700205d /src/armnnDeserializer/test/DeserializePooling2d.cpp | |
parent | 3091b06807257a6db0ff03654681f87526f37955 (diff) | |
download | armnn-23e1de6a75feee81db67034cebf0e92b4d2ac161.tar.gz |
Fix typos in IVGCVSW-2645 Add Serializer & Deserializer for Pooling2d
Change-Id: I63fdf3e7fb6ba42e879942ee9664d7c84678d4e8
Signed-off-by: ruoyan01 <ruomei.yan@arm.com>
Diffstat (limited to 'src/armnnDeserializer/test/DeserializePooling2d.cpp')
-rw-r--r-- | src/armnnDeserializer/test/DeserializePooling2d.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/armnnDeserializer/test/DeserializePooling2d.cpp b/src/armnnDeserializer/test/DeserializePooling2d.cpp index ef30a84342..55fb655b34 100644 --- a/src/armnnDeserializer/test/DeserializePooling2d.cpp +++ b/src/armnnDeserializer/test/DeserializePooling2d.cpp @@ -107,51 +107,51 @@ struct Pooling2dFixture : public ParserFlatbuffersSerializeFixture } }; -struct SimpleAvgPoolingFixture : Pooling2dFixture +struct SimpleAvgPooling2dFixture : Pooling2dFixture { - SimpleAvgPoolingFixture() : Pooling2dFixture("[ 1, 2, 2, 1 ]", "[ 1, 1, 1, 1 ]", - "Float32", "NHWC", "Average") {} + SimpleAvgPooling2dFixture() : Pooling2dFixture("[ 1, 2, 2, 1 ]", "[ 1, 1, 1, 1 ]", + "Float32", "NHWC", "Average") {} }; -struct SimpleAvgPoolingFixture2 : Pooling2dFixture +struct SimpleAvgPooling2dFixture2 : Pooling2dFixture { - SimpleAvgPoolingFixture2() : Pooling2dFixture("[ 1, 2, 2, 1 ]", - "[ 1, 1, 1, 1 ]", - "QuantisedAsymm8", "NHWC", "Average") {} + SimpleAvgPooling2dFixture2() : Pooling2dFixture("[ 1, 2, 2, 1 ]", + "[ 1, 1, 1, 1 ]", + "QuantisedAsymm8", "NHWC", "Average") {} }; -struct SimpleMaxPoolingFixture : Pooling2dFixture +struct SimpleMaxPooling2dFixture : Pooling2dFixture { - SimpleMaxPoolingFixture() : Pooling2dFixture("[ 1, 1, 2, 2 ]", - "[ 1, 1, 1, 1 ]", - "Float32", "NCHW", "Max") {} + SimpleMaxPooling2dFixture() : Pooling2dFixture("[ 1, 1, 2, 2 ]", + "[ 1, 1, 1, 1 ]", + "Float32", "NCHW", "Max") {} }; -struct SimpleMaxPoolingFixture2 : Pooling2dFixture +struct SimpleMaxPooling2dFixture2 : Pooling2dFixture { - SimpleMaxPoolingFixture2() : Pooling2dFixture("[ 1, 1, 2, 2 ]", - "[ 1, 1, 1, 1 ]", - "QuantisedAsymm8", "NCHW", "Max") {} + SimpleMaxPooling2dFixture2() : Pooling2dFixture("[ 1, 1, 2, 2 ]", + "[ 1, 1, 1, 1 ]", + "QuantisedAsymm8", "NCHW", "Max") {} }; -BOOST_FIXTURE_TEST_CASE(PoolingQuantisedAsymm8Avg, SimpleAvgPoolingFixture) +BOOST_FIXTURE_TEST_CASE(Pooling2dFloat32Avg, SimpleAvgPooling2dFixture) { RunTest<4, armnn::DataType::Float32>(0, { 2, 3, 5, 2 }, { 3 }); } -BOOST_FIXTURE_TEST_CASE(PoolingFloat32Avg, SimpleAvgPoolingFixture2) +BOOST_FIXTURE_TEST_CASE(Pooling2dQuantisedAsymm8Avg, SimpleAvgPooling2dFixture2) { RunTest<4, armnn::DataType::QuantisedAsymm8>(0, { 20, 40, 60, 80 }, { 50 }); } -BOOST_FIXTURE_TEST_CASE(PoolingQuantisedAsymm8Max, SimpleMaxPoolingFixture) +BOOST_FIXTURE_TEST_CASE(Pooling2dFloat32Max, SimpleMaxPooling2dFixture) { RunTest<4, armnn::DataType::Float32>(0, { 2, 5, 5, 2 }, { 5 }); } -BOOST_FIXTURE_TEST_CASE(PoolingFloat32Max, SimpleMaxPoolingFixture2) +BOOST_FIXTURE_TEST_CASE(Pooling2dQuantisedAsymm8Max, SimpleMaxPooling2dFixture2) { RunTest<4, armnn::DataType::QuantisedAsymm8>(0, { 20, 40, 60, 80 }, |