24.02.1
|
Go to the documentation of this file.
68 _norm_kernel->configure(compile_context,
input, output, mean, var, beta, gamma,
epsilon,
act_info);
CLBatchNormalizationLayer()
Default constructor.
Interface for the BatchNormalization layer kernel.
void enqueue(ICLKernel &kernel, bool flush=true)
Schedule the execution of the passed kernel if possible.
Interface for OpenCL tensor.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Activation Layer Information class.
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...
Interface to enqueue OpenCL kernels and get/set the OpenCL CommandQueue and ICLTuner.
static CLScheduler & get()
Access the scheduler singleton.
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.
#define ARM_COMPUTE_LOG_PARAMS(...)
~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...