31 #include "tests/datasets/LargeGEMMDataset.h" 32 #include "tests/datasets/SmallGEMMDataset.h" 33 #include "tests/datasets/TinyGEMMDataset.h" 38 #include "tests/validation/fixtures/GEMMFixture.h" 52 constexpr
float tolerance_num = 0.02f;
66 using CLGEMMFixture = GEMMValidationFixture<CLTensor, CLAccessor, CLGEMM, T>;
77 framework::dataset::
make("ReshapeWeights", {
true,
false })),
94 framework::dataset::
make("ReshapeWeights", {
true,
false })),
114 framework::dataset::
make("ReshapeWeights", {
true,
false })),
131 framework::dataset::
make("ReshapeWeights", {
true,
false })),
153 framework::dataset::
make("ReshapeWeights", {
true,
false })),
170 framework::dataset::
make("ReshapeWeights", {
true,
false })),
GEMMValidationFixture< CLTensor, CLAccessor, CLGEMM, T, false, true, true > CLGEMMInputOutput3DFixture
RelativeTolerance< float > tolerance_f32(0.001f)
F32 Tolerance value for comparing reference's output against implementation's output for floating poi...
half_float::half half
16-bit floating point type
1 channel, 1 F32 per channel
GEMMValidationFixture< CLTensor, CLAccessor, CLGEMM, T, false, false, true > CLGEMMOutput3DFixture
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
DatasetMode
Possible dataset modes.
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)
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
GEMMValidationFixture< CLTensor, CLAccessor, CLGEMM, T > CLGEMMFixture
RelativeTolerance< half_float::half > tolerance_f16(half(0.2))
F16 Tolerance value for comparing reference's output against implementation's output for floating poi...
constexpr float abs_tolerance_f32(0.0001f)
F32 Absolute tolerance value for comparing reference's output against implementation's output for flo...
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))