35 ITensor *tensor{
nullptr };
36 std::unique_ptr<cpu::CpuFill> op{
nullptr };
40 : _impl(
std::make_unique<Impl>())
51 _impl->tensor = tensor;
52 _impl->op = std::make_unique<cpu::CpuFill>();
53 _impl->op->configure(tensor->
info(), constant_value);
Class describing the value of a pixel for any image format.
void configure(ITensor *tensor, PixelValue constant_value)
Initialize the function.
NEFill()
Default Constructor.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
NEFill & operator=(const NEFill &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
Basic function to run cpu::kernels::CpuFillKernel.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
void run() override
Run the kernels contained in the function.
~NEFill()
Default Destructor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.