24 #ifndef ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H 25 #define ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H 35 class CLCompileContext;
38 class CLBatchNormalizationLayerKernel;
131 std::unique_ptr<CLBatchNormalizationLayerKernel> _norm_kernel;
void run() override
Run the kernels contained in the function.
~CLBatchNormalizationLayer()
Default destructor.
Base class for all functions.
Basic function to run CLNormalizationLayerKernel and simulate a batch normalization layer...
Store the tensor's metadata.
Activation Layer Information class.
CLBatchNormalizationLayer()
Default constructor.
Copyright (c) 2017-2021 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.
Interface for OpenCL tensor.
CLBatchNormalizationLayer & operator=(const CLBatchNormalizationLayer &)=delete
Prevent instances of this class from being copied.
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...