60 _tensor.
map(blocking);
void unmap() override
Un-maps a backend tensor object.
arm_compute::ITensor & tensor() override
Backend tensor object accessor.
CLTensorHandle(const ITensorInfo &info)
Default Constructor.
void release_if_unused() override
Releases backend tensor if is marked as unused.
bool is_used() const
Flags if the tensor is used or not.
void map(bool blocking) override
Maps backend tensor object.
Store the tensor's metadata.
CLTensorAllocator * allocator()
Return a pointer to the tensor's allocator.
bool is_subtensor() const override
Checks if a backing tensor is a sub-tensor object or not.
Interface for Neon tensor.
void init(const TensorInfo &input, size_t alignment=0)
Initialize a tensor based on the passed TensorInfo.
Copyright (c) 2017-2021 Arm Limited.
void map(bool blocking=true)
Enqueue a map operation of the allocated buffer.
Target target() const override
Returns target type.
Tensor handle interface object.
void allocate() override
Allocate size specified by TensorInfo of OpenCL memory.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
ITensorHandle * parent_handle() override
Return the parent tensor handle if is a subtensor else this.
void free() override
Free allocated OpenCL memory.
void free() override
Allocates backend memory for the handle.
void manage(IMemoryGroup *mg) override
Set backend tensor to be managed by a memory group.
virtual void manage(IMemoryManageable *obj)=0
Sets a object to be managed by the given memory group.
OpenCL capable target device.
void unmap()
Enqueue an unmap operation of the allocated and mapped buffer.
void allocate() override
Allocates backend memory for the handle.