diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2020-02-27 15:06:10 +0000 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2020-02-27 16:10:15 +0000 |
commit | 83dea96c2e041a6f0d03e0c9d8b53209ef2c7207 (patch) | |
tree | a18edcf6bc4ff52a2cfecb5f3053cff9ebccf5ff /tests/validation/NEON/PriorBoxLayer.cpp | |
parent | 4de2d59419bbbeefccdaccb563d3157d4c88db68 (diff) | |
download | ComputeLibrary-83dea96c2e041a6f0d03e0c9d8b53209ef2c7207.tar.gz |
COMPMID-3142: Remove padding from NEPriorBoxLayer
Change-Id: Ia7095449099c06bda96f1a212b44eea8cd5d5dca
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2800
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/NEON/PriorBoxLayer.cpp')
-rw-r--r-- | tests/validation/NEON/PriorBoxLayer.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/tests/validation/NEON/PriorBoxLayer.cpp b/tests/validation/NEON/PriorBoxLayer.cpp index ed11120a10..5659b9f3ae 100644 --- a/tests/validation/NEON/PriorBoxLayer.cpp +++ b/tests/validation/NEON/PriorBoxLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -53,19 +53,15 @@ using NEPriorBoxLayerFixture = PriorBoxLayerValidationFixture<Tensor, Accessor, // *INDENT-OFF* // clang-format off DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip( - framework::dataset::make("Input1Info", { TensorInfo(TensorShape(10U, 10U, 2U), 1, DataType::F32), - TensorInfo(TensorShape(10U, 10U, 2U), 1, DataType::F32), // Window shrink + framework::dataset::make("Input1Info", { TensorInfo(TensorShape(10U, 10U, 2U), 1, DataType::F32) }), - framework::dataset::make("Input2Info", { TensorInfo(TensorShape(10U, 10U, 2U), 1, DataType::F32), - TensorInfo(TensorShape(10U, 10U, 2U), 1, DataType::F32), + framework::dataset::make("Input2Info", { TensorInfo(TensorShape(10U, 10U, 2U), 1, DataType::F32) })), - framework::dataset::make("OutputInfo",{ TensorInfo(TensorShape(1200U, 2U), 1, DataType::F32), - TensorInfo(TensorShape(1000U, 2U), 1, DataType::F32), + framework::dataset::make("OutputInfo",{ TensorInfo(TensorShape(1200U, 2U), 1, DataType::F32) })), - framework::dataset::make("PriorBoxInfo",{ PriorBoxLayerInfo(std::vector<float>(1), std::vector<float>(1), 0, true, true, std::vector<float>(1), std::vector<float>(1), Coordinates2D{8, 8}, std::array<float, 2>()), - PriorBoxLayerInfo(std::vector<float>(1), std::vector<float>(1), 0, true, true, std::vector<float>(1), std::vector<float>(1), Coordinates2D{8, 8}, std::array<float, 2>()), + framework::dataset::make("PriorBoxInfo",{ PriorBoxLayerInfo(std::vector<float>(1), std::vector<float>(1), 0, true, true, std::vector<float>(1), std::vector<float>(1), Coordinates2D{8, 8}, std::array<float, 2>()) })), - framework::dataset::make("Expected", { true, false})), + framework::dataset::make("Expected", { true})), input1_info, input2_info, output_info, info, expected) { bool has_error = bool(NEPriorBoxLayer::validate(&input1_info.clone()->set_is_resizable(false), &input2_info.clone()->set_is_resizable(false), &output_info.clone()->set_is_resizable(false), info)); |