24 #ifndef ARM_COMPUTE_GRAPH_NESUBTENSORHANDLE_H 25 #define ARM_COMPUTE_GRAPH_NESUBTENSORHANDLE_H 64 void map(
bool blocking)
override;
65 void unmap()
override;
NESubTensorHandle & operator=(NESubTensorHandle &&)=default
Allow instances of this class to be moved.
void unmap() override
Un-maps a backend tensor object.
Neon Sub-Tensor handle interface object.
bool is_subtensor() const override
Checks if a backing tensor is a sub-tensor object or not.
arm_compute::ITensor & tensor() override
Backend tensor object accessor.
Interface for Neon tensor.
ITensorHandle * parent_handle() override
Return the parent tensor handle if is a subtensor else this.
Copyright (c) 2017-2021 Arm Limited.
Basic implementation of the sub-tensor interface.
~NESubTensorHandle()=default
Destructor: free the tensor's memory.
Tensor handle interface object.
NESubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords, bool extend_parent=false)
Default constructor.
void allocate() override
Allocates backend memory for the handle.
Target target() const override
Returns target type.
void map(bool blocking) override
Maps backend tensor object.
void release_if_unused() override
Releases backend tensor if is marked as unused.
void manage(IMemoryGroup *mg) override
Set backend tensor to be managed by a memory group.
void free() override
Allocates backend memory for the handle.