24.02.1
|
Go to the documentation of this file.
30 #include "tests/datasets/ShapeDatasets.h"
35 #include "tests/validation/fixtures/ElementwiseUnaryFixture.h"
45 constexpr AbsoluteTolerance<uint8_t> tolerance_qasymm8(0);
58 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
74 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
96 datasets::SmallShapes(),
102 validate(Accessor(_target), _reference, tolerance_qasymm8);
108 datasets::SmallShapes(),
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)))
RoundValidationFixture< Tensor, Accessor, NERoundLayer, T > NERoundLayerFixture
Quantization information.
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))
Accessor implementation for Tensor objects.
TEST_SUITE(QASYMM8_to_F32) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
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-2024 Arm Limited.
@ F16
16-bit floating-point number
RoundQuantizedValidationFixture< Tensor, Accessor, NERoundLayer, T > NERoundLayerQuantizedFixture
constexpr AbsoluteTolerance< int8_t > tolerance_qasymm8_signed
@ F32
32-bit floating-point number
DatasetMode
Possible dataset modes.
DataType
Available data types.