24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_NEL2NORMALIZELAYERKERNEL_H
25 #define ARM_COMPUTE_NEL2NORMALIZELAYERKERNEL_H
37 const char *
name()
const override
39 return "NEL2NormalizeLayerKernel";
87 unsigned int _actual_axis;
NEL2NormalizeLayerKernel()
Default constructor.
Interface for performing a L2 normalize on a given axis given the square sum of it in this axis.
NEL2NormalizeLayerKernel & operator=(const NEL2NormalizeLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Interface for CPU tensor.
~NEL2NormalizeLayerKernel()=default
Default destructor.
void configure(const ITensor *input, const ITensor *sum, ITensor *output, int axis, float epsilon)
Set the input and output tensors.
static Status validate(const ITensorInfo *input, const ITensorInfo *sum, const ITensorInfo *output, int axis, float epsilon)
Static function to check if given info will lead to a valid configuration of NEL2NormalizeLayerKernel...
Common interface for all kernels implemented in C++.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
const char * name() const override
Name of the kernel.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)