NETensorHandle(const ITensorInfo &info)
Default Constructor.
ITensorHandle * parent_handle() override
Return the parent tensor handle if is a subtensor else this.
Neon capable target device.
void map(bool blocking) override
Maps backend tensor object.
void unmap() override
Un-maps a backend tensor object.
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...
void manage(IMemoryGroup *mg) override
Set backend tensor to be managed by a memory group.
bool is_used() const
Flags if the tensor is used or not.
Store the tensor's metadata.
Target target() const override
Returns target type.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
TensorAllocator * allocator()
Return a pointer to the tensor's allocator.
void free() override
Allocates backend memory for the handle.
bool is_subtensor() const override
Checks if a backing tensor is a sub-tensor object or not.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
void allocate() override
Allocate size specified by TensorInfo of CPU memory.
void free() override
Free allocated CPU memory.
Tensor handle interface object.
arm_compute::ITensor & tensor() override
Backend tensor object accessor.
void allocate() override
Allocates backend memory for the handle.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
void release_if_unused() override
Releases backend tensor if is marked as unused.
virtual void manage(IMemoryManageable *obj)=0
Sets a object to be managed by the given memory group.