24.02.1
|
Go to the documentation of this file.
30 #include "tests/datasets/PoolingTypesDataset.h"
31 #include "tests/datasets/ShapeDatasets.h"
36 #include "tests/validation/fixtures/PoolingLayerFixture.h"
47 const auto GlobalPoolingLayerDataset =
combine(datasets::GlobalPoolingShapes(), datasets::PoolingTypes());
@ NCHW
Num samples, channels, height, width.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
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)))
DataLayout
[DataLayout enum definition]
RelativeTolerance< half_float::half > tolerance_f16(half_float::half(0.1))
Tolerance value for comparing reference's output against implementation's output for DataType::F16.
TEST_SUITE(QASYMM8_to_F32) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
half_float::half half
16-bit floating point type
RelativeTolerance< float > tolerance_f32(0.01f)
Tolerance value for comparing reference's output against implementation's output for DataType::F32.
Accessor implementation for CLTensor objects.
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
GlobalPoolingLayerValidationFixture< CLTensor, CLAccessor, CLPoolingLayer, T > CLGlobalPoolingLayerFixture
Copyright (c) 2017-2024 Arm Limited.
DatasetMode
Possible dataset modes.
DataType
Available data types.