Compute Library
 23.08
ElementwiseRsqrtLayer.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 CpuRsqrtDynamicShapeFixture = RsqrtDynamicShapeValidationFixture< Tensor, Accessor, NERsqrtLayer, T >
 
template<typename T >
using NERsqrtLayerQuantizedFixture = RsqrtQuantizedValidationFixture< Tensor, Accessor, NERsqrtLayer, T >
 

Functions

 FIXTURE_DATA_TEST_CASE (RunSmall, CpuRsqrtDynamicShapeFixture< float >, framework::DatasetMode::ALL, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))
 
 TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T>
 [CLActivationLayer Test snippet] More...
 
 FIXTURE_DATA_TEST_CASE (RunSmall, NERsqrtLayerFixture< float >, framework::DatasetMode::ALL, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))
 
 combine (combine(combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::QASYMM8)), framework::dataset::make("InputQInfo", { QuantizationInfo(20, 0) })), 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(25, -128) })), framework::dataset::make("OutputQInfo", { QuantizationInfo(0.1, -7) })))
 

Variables

 NERsqrtLayerQuantizedFixture< uint8_t >
 
 NERsqrtLayerQuantizedFixture< int8_t >