24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLINSTANCENORMALIZATIONLAYERKERNEL_H
25 #define ARM_COMPUTE_CLINSTANCENORMALIZATIONLAYERKERNEL_H
Interface for performing an instance normalization.
CLInstanceNormalizationLayerKernel & operator=(const CLInstanceNormalizationLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Interface for OpenCL tensor.
void configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *output, bool use_mixed_precision)
Set the input and output tensors.
~CLComputeMeanVariance()=default
Default destructor.
void configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *mean_var, ICLTensor *output, const InstanceNormalizationLayerKernelInfo &info)
Set the input and output tensors.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
~CLInstanceNormalizationLayerKernel()=default
Default destructor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const InstanceNormalizationLayerKernelInfo &info)
Static function to check if given info will lead to a valid configuration of CLInstanceNormalizationL...
Common interface for all the OpenCL kernels.
Interface for compute Mean and Variance per channel.
const Window & window() const
The maximum window the kernel can be executed on.
CLComputeMeanVariance & operator=(const CLComputeMeanVariance &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
CLComputeMeanVariance()
Constructor.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
CLInstanceNormalizationLayerKernel()
Constructor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLInstanceNormalizationL...