24 #ifndef ARM_COMPUTE_CLFUSEBATCHNORMALIZATION_H 25 #define ARM_COMPUTE_CLFUSEBATCHNORMALIZATION_H 35 class CLCompileContext;
36 class CLFuseBatchNormalizationKernel;
119 std::unique_ptr<CLFuseBatchNormalizationKernel> _fuse_bn_kernel;
Base class for all functions.
Store the tensor's metadata.
CLFuseBatchNormalization()
Default constructor.
static Status validate(const ITensorInfo *input_weights, const ITensorInfo *bn_mean, const ITensorInfo *bn_var, const ITensorInfo *fused_weights, const ITensorInfo *fused_bias, const ITensorInfo *input_bias=nullptr, const ITensorInfo *bn_beta=nullptr, const ITensorInfo *bn_gamma=nullptr, float epsilon=0.001f, FuseBatchNormalizationType fbn_type=FuseBatchNormalizationType::CONVOLUTION)
Static function to check if given info will lead to a valid configuration of CLFuseBatchNormalization...
Copyright (c) 2017-2021 Arm Limited.
CLFuseBatchNormalization & operator=(const CLFuseBatchNormalization &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
FuseBatchNormalizationType
Available FuseBatchNormalizationType.
~CLFuseBatchNormalization()
Default destructor.
void configure(const ICLTensor *input_weights, const ICLTensor *bn_mean, const ICLTensor *bn_var, ICLTensor *fused_weights, ICLTensor *fused_bias, const ICLTensor *input_bias=nullptr, const ICLTensor *bn_beta=nullptr, const ICLTensor *bn_gamma=nullptr, float epsilon=0.001f, FuseBatchNormalizationType fbn_type=FuseBatchNormalizationType::CONVOLUTION)
Set the input and output tensors.
void run() override
Run the kernels contained in the function.
Interface for OpenCL tensor.
Basic function to fuse the batch normalization node to a preceding convolution node.