24.02.1
|
Go to the documentation of this file.
30 #include "tests/datasets/ShapeDatasets.h"
35 #include "tests/validation/fixtures/ElementwiseUnaryFixture.h"
46 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
48 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
49 constexpr AbsoluteTolerance<uint8_t> tolerance_qasymm8(0);
62 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
78 #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
100 datasets::SmallShapes(),
106 validate(Accessor(_target), _reference, tolerance_qasymm8);
112 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)))
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
const AbsoluteTolerance< half > tolerance_fp16(half(0.1f))
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
SinValidationFixture< Tensor, Accessor, NESinLayer, T > NESinLayerFixture
constexpr AbsoluteTolerance< int8_t > tolerance_qasymm8_signed
@ F32
32-bit floating-point number
RelativeTolerance< float > tolerance_fp32(0.001f)
Tolerance value for comparing reference's output against implementation's output for FP32 data types.
SinQuantizedValidationFixture< Tensor, Accessor, NESinLayer, T > NESinLayerQuantizedFixture
DatasetMode
Possible dataset modes.
DataType
Available data types.