Compute Library
 23.11
ElementwiseRound.cpp File Reference
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h"
#include "arm_compute/runtime/Tensor.h"
#include "arm_compute/runtime/TensorAllocator.h"
#include "tests/NEON/Accessor.h"
#include "tests/PaddingCalculator.h"
#include "tests/datasets/ShapeDatasets.h"
#include "tests/framework/Asserts.h"
#include "tests/framework/Macros.h"
#include "tests/framework/datasets/Datasets.h"
#include "tests/validation/Validation.h"
#include "tests/validation/fixtures/ElementwiseUnaryFixture.h"

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2023 Arm Limited.
 
 arm_compute::test
 
 arm_compute::test::validation
 

Typedefs

template<typename T >
using NERoundLayerFixture = RoundValidationFixture< Tensor, Accessor, NERoundLayer, T >
 
template<typename T >
using NERoundLayerQuantizedFixture = RoundQuantizedValidationFixture< Tensor, Accessor, NERoundLayer, T >
 

Functions

 FIXTURE_DATA_TEST_CASE (RunSmall, NERoundLayerFixture< float >, framework::DatasetMode::ALL, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, NERoundLayerFixture< float >, framework::DatasetMode::NIGHTLY, combine(datasets::LargeShapes(), framework::dataset::make("DataType", DataType::F32)))
 
 TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T>
 [CLActivationLayer Test snippet] More...
 
 combine (combine(combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::QASYMM8)), framework::dataset::make("InputQInfo", { QuantizationInfo(0.2, -3) })), framework::dataset::make("OutputQInfo", { QuantizationInfo(0.5, 10) })))
 
 combine (combine(combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::QASYMM8_SIGNED)), framework::dataset::make("InputQInfo", { QuantizationInfo(0.075, 6) })), framework::dataset::make("OutputQInfo", { QuantizationInfo(0.1, -7) })))
 

Variables

 NERoundLayerQuantizedFixture< uint8_t >
 
 NERoundLayerQuantizedFixture< int8_t >