60 _tensor.
map(blocking);
Target target() const override
Returns target type.
bool is_used() const
Flags if the tensor is used or not.
Store the tensor's metadata.
void manage(IMemoryGroup *mg) override
Set backend tensor to be managed by a memory group.
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.
virtual void free()=0
Interface to be implemented by the child class to free the allocated tensor.
void free() override
Allocates backend memory for the handle.
arm_compute::ITensor & tensor() override
Backend tensor object accessor.
GLES compute capable target device.
ITensorHandle * parent_handle() override
Return the parent tensor handle if is a subtensor else this.
void unmap() override
Un-maps a backend tensor object.
void allocate() override
Allocates backend memory for the handle.
Tensor handle interface object.
virtual void allocate()=0
Interface to be implemented by the child class to allocate the tensor.
void unmap()
Enqueue an unmap operation of the allocated and mapped buffer on the given queue. ...
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
bool is_subtensor() const override
Checks if a backing tensor is a sub-tensor object or not.
void release_if_unused() override
Releases backend tensor if is marked as unused.
void map(bool blocking) override
Maps backend tensor object.
void map(bool blocking=true)
Enqueue a map operation of the allocated buffer on the given queue.
GCTensorHandle(const ITensorInfo &info)
Default Constructor.
virtual void manage(IMemoryManageable *obj)=0
Sets a object to be managed by the given memory group.
ITensorAllocator * allocator()
Return a pointer to the tensor's allocator.