30 #include "tests/datasets/ConvertPolicyDataset.h" 31 #include "tests/datasets/ShapeDatasets.h" 36 #include "tests/validation/fixtures/AccumulateFixture.h" 47 constexpr AbsoluteTolerance<float> tolerance(1.0f);
56 template <
typename T1>
57 using CLAccumulateFixture = AccumulateValidationFixture<CLTensor, CLAccessor, CLAccumulate, T1, int16_t>;
76 template <
typename T1>
96 template <
typename T1>
AccumulateWeightedValidationFixture< CLTensor, CLAccessor, CLAccumulateWeighted, T1, uint8_t > CLAccumulateWeightedFixture
1 channel, 1 U8 per channel
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.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
Accessor implementation for CLTensor objects.
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
1 channel, 1 S16 per channel
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
AccumulateValidationFixture< CLTensor, CLAccessor, CLAccumulate, T1, int16_t > CLAccumulateFixture
AccumulateSquaredValidationFixture< CLTensor, CLAccessor, CLAccumulateSquared, T1, int16_t > CLAccumulateSquaredFixture
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))