24.02.1
|
Go to the documentation of this file.
34 struct NEArithmeticSubtraction::Impl
36 const ITensor *src_0{
nullptr};
37 const ITensor *src_1{
nullptr};
38 ITensor *
dst{
nullptr};
39 std::unique_ptr<cpu::CpuSub> op{
nullptr};
64 _impl->src_0 = input1;
65 _impl->src_1 = input2;
67 _impl->op = std::make_unique<cpu::CpuSub>();
NEArithmeticSubtraction()
Default Constructor.
void run() override
Run the kernels contained in the function.
~NEArithmeticSubtraction()
Default Destructor.
Interface for CPU tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, ConvertPolicy policy, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration of NEArithmeticSubtraction.
Activation Layer Information class.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
void configure(const ITensor *input1, const ITensor *input2, ITensor *output, ConvertPolicy policy, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Initialise the kernel's inputs, output and conversion policy.
static Status validate(const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst, ConvertPolicy policy, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration.
Copyright (c) 2017-2024 Arm Limited.
ConvertPolicy
Policy to handle integer overflow.
Store the tensor's metadata.
NEArithmeticSubtraction & operator=(const NEArithmeticSubtraction &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Basic function to run cpu::kernels::CpuSubKernel.