24.04
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_RUNTIME_NEON_FUNCTIONS_NEADDMULADD
25 #define ARM_COMPUTE_RUNTIME_NEON_FUNCTIONS_NEADDMULADD
37 class ActivationLayerInfo;
44 NEAddMulAdd(std::shared_ptr<IMemoryManager> memory_manager =
nullptr);
112 std::unique_ptr<Impl> _impl;
Function to compute Add+Mul+Add fused operation.
Base class for all functions.
NEAddMulAdd & operator=(const NEAddMulAdd &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Interface for CPU tensor.
~NEAddMulAdd()
Destructor.
Activation Layer Information class.
void run() override
Run the kernels contained in the function.
Copyright (c) 2017-2024 Arm Limited.
ConvertPolicy
Policy to handle integer overflow.
NEAddMulAdd(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Constructor.
void configure(ITensor *input1, ITensor *input2, ITensor *bn_mul, ITensor *bn_add, ITensor *add_output, ITensor *final_output, ConvertPolicy policy, const ActivationLayerInfo &act_info)
Initialize the function's inputs and outputs.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *bn_mul, const ITensorInfo *bn_add, const ITensorInfo *add_output, const ITensorInfo *final_output, ConvertPolicy policy, const ActivationLayerInfo &act_info)
Static function to check if given info will lead to a valid configuration of NEAddMulAdd.
Store the tensor's metadata.