39 : _memory_group(
std::move(memory_manager)), _kernel_hor(), _kernel_vert(), _tmp(), _border_handler()
50 _memory_group.
manage(&_tmp);
52 _kernel_hor = std::make_unique<NEGaussian5x5HorKernel>();
53 _kernel_vert = std::make_unique<NEGaussian5x5VertKernel>();
54 _border_handler = std::make_unique<NEFillBorderKernel>();
62 _border_handler->configure(input, _kernel_hor->border_size(), border_mode,
PixelValue(constant_border_value));
BorderMode
Methods available to handle borders.
Class describing the value of a pixel for any image format.
void init(const TensorAllocator &allocator, const Coordinates &coords, TensorInfo &sub_info)
Shares the same backing memory with another tensor allocator, while the tensor info might be differen...
NEGaussian5x5(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default constructor.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
TensorAllocator * allocator()
Return a pointer to the tensor's allocator.
void run() override
Run the kernels contained in the function.
void manage(IMemoryManageable *obj) override
Sets a object to be managed by the given memory group.
virtual const TensorShape & tensor_shape() const =0
Size for each dimension of the tensor.
void allocate() override
Allocate size specified by TensorInfo of CPU memory.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
~NEGaussian5x5()
Default destructor.
1 channel, 1 S16 per channel
static constexpr size_t DimY
Alias for dimension 1 also known as Y dimension.
Memory group resources scope handling class.
virtual void schedule(ICPPKernel *kernel, const Hints &hints)=0
Runs the kernel in the same thread as the caller synchronously.
static constexpr size_t DimZ
Alias for dimension 2 also known as Z dimension.
Borders are left undefined.
Store the tensor's metadata.
void configure(ITensor *input, ITensor *output, BorderMode border_mode, uint8_t constant_border_value=0)
Initialise the function's input, output and border mode.
static IScheduler & get()
Access the scheduler singleton.