24.02.1
|
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/NEON/functions/NEConcatenateLayer.h"
#include "arm_compute/runtime/Tensor.h"
#include "arm_compute/runtime/TensorAllocator.h"
#include "tests/NEON/Accessor.h"
#include "tests/datasets/ShapeDatasets.h"
#include "tests/framework/Asserts.h"
#include "tests/framework/Macros.h"
#include "tests/framework/datasets/Datasets.h"
#include "tests/validation/Validation.h"
#include "tests/validation/fixtures/ConcatenateLayerFixture.h"
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2024 Arm Limited. | |
arm_compute::test | |
arm_compute::test::validation | |
Typedefs | |
template<typename T > | |
using | NEHeightConcatenateLayerFixture = ConcatenateLayerValidationFixture< Tensor, ITensor, Accessor, NEConcatenateLayer, T > |
Functions | |
DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(zip(framework::dataset::make("InputInfo1", { TensorInfo(TensorShape(23U, 15U, 5U), 1, DataType::F32), TensorInfo(TensorShape(22U, 27U, 5U), 1, DataType::F32), TensorInfo(TensorShape(11U, 25U, 5U), 1, DataType::F32), TensorInfo(TensorShape(16U, 25U, 5U), 1, DataType::F32), TensorInfo(TensorShape(35U, 21U, 5U), 1, DataType::F32) }), framework::dataset::make("InputInfo2", { TensorInfo(TensorShape(23U, 15U, 4U), 1, DataType::F32), TensorInfo(TensorShape(22U, 127U, 5U), 1, DataType::F32), TensorInfo(TensorShape(11U, 26U, 5U), 1, DataType::F32), TensorInfo(TensorShape(16U, 25U, 5U), 1, DataType::F32), TensorInfo(TensorShape(35U, 10U, 5U), 1, DataType::F32) })), framework::dataset::make("OutputInfo", { TensorInfo(TensorShape(23U, 30U, 5U), 1, DataType::F16), TensorInfo(TensorShape(22U, 12U, 5U), 1, DataType::F32), TensorInfo(TensorShape(11U, 7U, 5U), 1, DataType::F32), TensorInfo(TensorShape(16U, 50U, 5U), 1, DataType::F32), TensorInfo(TensorShape(35U, 31U, 5U), 1, DataType::F32) })), framework::dataset::make("Expected", { false, false, false, true, true })), input_info1, input_info2, output_info, expected) | |
FIXTURE_DATA_TEST_CASE (RunSmall, NEHeightConcatenateLayerFixture< float >, framework::DatasetMode::PRECOMMIT, combine(combine(concat(datasets::Small2DShapes(), datasets::Tiny4DShapes()), framework::dataset::make("DataType", DataType::F32)), framework::dataset::make("Axis", 1))) | |
FIXTURE_DATA_TEST_CASE (RunLarge, NEHeightConcatenateLayerFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::ConcatenateLayerShapes(), framework::dataset::make("DataType", DataType::F32)), framework::dataset::make("Axis", 1))) | |
TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T> | |
[CLActivationLayer Test snippet] More... | |
combine (combine(concat(datasets::Small2DShapes(), datasets::Tiny4DShapes()), framework::dataset::make("DataType", DataType::QASYMM8)), framework::dataset::make("Axis", 1))) | |
combine (combine(concat(datasets::Small2DShapes(), datasets::Tiny4DShapes()), framework::dataset::make("DataType", DataType::QASYMM8_SIGNED)), framework::dataset::make("Axis", 1))) | |
Variables | |
NEHeightConcatenateLayerFixture< uint8_t > | |
NEHeightConcatenateLayerFixture< int8_t > | |