24 #ifndef ARM_COMPUTE_CLINSTANCENORMALIZATIONLAYER_H 25 #define ARM_COMPUTE_CLINSTANCENORMALIZATIONLAYER_H 35 class CLCompileContext;
39 class CLRuntimeContext;
115 std::unique_ptr<ICLKernel> _inst_norm_kernel;
116 std::unique_ptr<ICLKernel> _mean_var_kernel;
static Status validate(const ITensorInfo *input, const ITensorInfo *output, float gamma=1.0f, float beta=0.0f, float epsilon=1e-12f, bool use_mixed_precision=true)
Static function to check if given info will lead to a valid configuration of CLInstanceNormalizationL...
Base class for all functions.
Store the tensor's metadata.
Copyright (c) 2017-2022 Arm Limited.
~CLInstanceNormalizationLayer()
Default destructor.
void configure(ICLTensor *input, ICLTensor *output, float gamma=1.0f, float beta=0.0f, float epsilon=1e-12f, bool use_mixed_precision=true)
Set the input and output tensors.
Interface for OpenCL tensor.
Basic function to perform a Instance normalization.
CLInstanceNormalizationLayer(CLRuntimeContext *ctx=nullptr)
Constructor.
void run() override
Run the kernels contained in the function.
CLInstanceNormalizationLayer & operator=(const CLInstanceNormalizationLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Basic implementation of the OpenCL tensor interface.