24.02.1
|
Go to the documentation of this file.
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 = Col2ImOpValidationFixture<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) }),
112 validate(CLAccessor(_target), _reference);
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
TEST_CASE(FusedActivation, framework::DatasetMode::ALL)
Validate fused activation expecting the following behaviours:
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))
@ NHWC
Num samples, height, width, channels.
Interface for the col2im reshaping kernel.
@ QASYMM8
quantized, asymmetric fixed-point 8-bit number unsigned
Class for specifying the size of an image or rectangle.
As above but this also setups a Zero border on the input tensor of the kernel's bordersize.
TEST_SUITE(QASYMM8_to_F32) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
Accessor implementation for CLTensor objects.
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.
Store the tensor's metadata.
Copyright (c) 2017-2024 Arm Limited.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const Size2D &convolved_dims, unsigned int num_groups=1)
Static function to check if given info will lead to a valid configuration.
@ F16
16-bit floating-point number
@ F32
32-bit floating-point number
Col2ImOpValidationFixture< CLTensor, CLAccessor, ClCol2Im, T, true > ClCol2ImFixture
DatasetMode
Possible dataset modes.