24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H
25 #define ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H
35 class CLCompileContext;
38 class CLBatchNormalizationLayerKernel;
147 std::unique_ptr<CLBatchNormalizationLayerKernel> _norm_kernel;
CLBatchNormalizationLayer()
Default constructor.
Base class for all functions.
Interface for OpenCL tensor.
Basic function to run CLNormalizationLayerKernel and simulate a batch normalization layer.
Activation Layer Information class.
CLBatchNormalizationLayer & operator=(const CLBatchNormalizationLayer &)=delete
Prevent instances of this class from being copied.
void run() override
Run the kernels contained in the function.
Copyright (c) 2017-2024 Arm Limited.
void configure(ICLTensor *input, ICLTensor *output, const ICLTensor *mean, const ICLTensor *var, const ICLTensor *beta=nullptr, const ICLTensor *gamma=nullptr, float epsilon=0.001f, ActivationLayerInfo act_info=ActivationLayerInfo())
Set the input and output tensors.
Store the tensor's metadata.
~CLBatchNormalizationLayer()
Default destructor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *mean, const ITensorInfo *var, const ITensorInfo *beta=nullptr, const ITensorInfo *gamma=nullptr, float epsilon=0.001f, ActivationLayerInfo act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration of CLBatchNormalizationLaye...