24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLL2NORMALIZELAYER_H
25 #define ARM_COMPUTE_CLL2NORMALIZELAYER_H
39 class CLCompileContext;
40 class CLL2NormalizeLayerKernel;
112 std::unique_ptr<CLL2NormalizeLayerKernel> _normalize_kernel;
Base class for all functions.
Interface for OpenCL tensor.
Basic implementation of the OpenCL tensor interface.
Basic function to perform a L2 normalization on a given axis.
CLL2NormalizeLayer & operator=(const CLL2NormalizeLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
CLL2NormalizeLayer(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Constructor.
void configure(ICLTensor *input, ICLTensor *output, int axis, float epsilon=1e-12f)
Set the input and output tensors.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, int axis, float epsilon=1e-12f)
Static function to check if given info will lead to a valid configuration of CLL2NormalizeLayer.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
~CLL2NormalizeLayer()
Default Destructor.
void run() override
Run the kernels contained in the function.
Perform reduction operation.