24 #ifndef ARM_COMPUTE_CLL2NORMALIZELAYERKERNEL_H 25 #define ARM_COMPUTE_CLL2NORMALIZELAYERKERNEL_H 96 unsigned int _actual_axis;
const Window & window() const
The maximum window the kernel can be executed on.
DATA_TYPE sum(__global const DATA_TYPE *input)
Calculate sum of a vector.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
CLL2NormalizeLayerKernel()
Default constructor.
void configure(const ICLTensor *input, const ICLTensor *sum, ICLTensor *output, int axis, float epsilon)
Set the input and output tensors.
CLL2NormalizeLayerKernel & operator=(const CLL2NormalizeLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Store the tensor's metadata.
Common interface for all the OpenCL kernels.
Copyright (c) 2017-2021 Arm Limited.
~CLL2NormalizeLayerKernel()=default
Default destructor.
Interface for OpenCL tensor.
Interface for performing a L2 normalize on a given axis given the square sum of it in this axis...
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 CLL2NormalizeLayerKernel...
Describe a multidimensional execution window.