32 #include "tests/validation/fixtures/Col2ImFixture.h" 61 const auto conv_size =
Size2D(3, 4);
70 const auto conv_size =
Size2D(3, 4);
79 const auto conv_size =
Size2D(3, 4);
86 using CLCol2ImFixture = Col2ImValidationFixture<CLTensor, CLAccessor, CLCol2Im, T, true>;
105 framework::dataset::make(
"InputShape", {
TensorShape(8
U, 16
U, 3
U, 1
U),
TensorShape(17
U, 16
U, 3
U, 1
U),
TensorShape(7
U, 16
U, 3
U, 1
U) }),
Col2ImValidationFixture< CLTensor, CLAccessor, CLCol2Im, T, true > CLCol2ImFixture
1 channel, 1 F32 per channel
ARM_COMPUTE_EXPECT(has_error==expected, framework::LogLevel::ERRORS)
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
Copyright (c) 2017-2021 Arm Limited.
1 channel, 1 F16 per channel
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const Size2D &convolved_dims, unsigned int num_groups=1)
Static function to check if given info will lead to a valid configuration of CLCol2ImKernel.
DatasetMode
Possible dataset modes.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
quantized, asymmetric fixed-point 8-bit number unsigned
Accessor implementation for CLTensor objects.
Interface for the col2im reshaping kernel.
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
Class for specifying the size of an image or rectangle.
Num samples, height, width, channels.
This template synthetizes an ICLSimpleFunction which runs the given kernel K.
Store the tensor's metadata.
TEST_CASE(FusedActivation, framework::DatasetMode::ALL)
Validate fused activation expecting the following behaviours:
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))