24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_GRAPH_NETENSORHANDLE_H
25 #define ARM_COMPUTE_GRAPH_NETENSORHANDLE_H
56 void map(
bool blocking)
override;
57 void unmap()
override;
NETensorHandle(const ITensorInfo &info)
Default Constructor.
void release_if_unused() override
Releases backend tensor if is marked as unused.
Target target() const override
Returns target type.
void manage(IMemoryGroup *mg) override
Set backend tensor to be managed by a memory group.
Interface for CPU tensor.
bool is_subtensor() const override
Checks if a backing tensor is a sub-tensor object or not.
CPU Tensor handle interface object.
ITensorHandle * parent_handle() override
Return the parent tensor handle if is a subtensor else this.
void map(bool blocking) override
Maps backend tensor object.
void free() override
Allocates backend memory for the handle.
NETensorHandle & operator=(NETensorHandle &&)=default
Allow instances of this class to be moved.
arm_compute::ITensor & tensor() override
Backend tensor object accessor.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
Basic implementation of the tensor interface.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
~NETensorHandle()=default
Destructor: free the tensor's memory.
Tensor handle interface object.
void allocate() override
Allocates backend memory for the handle.
void unmap() override
Un-maps a backend tensor object.