ArmNN
NotReleased
|
#include <ClTensorHandle.hpp>
Public Member Functions | |
ClSubTensorHandle (IClTensorHandle *parent, const arm_compute::TensorShape &shape, const arm_compute::Coordinates &coords) | |
arm_compute::CLSubTensor & | GetTensor () override |
arm_compute::CLSubTensor const & | GetTensor () const override |
virtual void | Allocate () override |
virtual void | Manage () override |
virtual const void * | Map (bool blocking=true) const override |
virtual void | Unmap () const override |
Unmap the tensor data. More... | |
virtual ITensorHandle * | GetParent () const override |
virtual arm_compute::DataType | GetDataType () const override |
virtual void | SetMemoryGroup (const std::shared_ptr< arm_compute::IMemoryGroup > &) override |
TensorShape | GetStrides () const override |
TensorShape | GetShape () const override |
Public Member Functions inherited from ITensorHandle | |
virtual | ~ITensorHandle () |
void * | Map (bool blocking=true) |
void | Unmap () |
Unmap the tensor data that was previously mapped with call to Map(). More... | |
virtual unsigned int | GetImportFlags () const |
Get flags describing supported import sources. More... | |
virtual bool | Import (void *memory, MemorySource source) |
Definition at line 174 of file ClTensorHandle.hpp.
|
inline |
Definition at line 177 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Indicate to the memory manager that this resource is no longer active. This is used to compute overlapping lifetimes of resources.
Implements ITensorHandle.
Definition at line 188 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Implements IClTensorHandle.
Definition at line 200 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Get the parent tensor if this is a subtensor.
Implements ITensorHandle.
Definition at line 198 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Get the number of elements for each dimension ordered from slowest iterating dimension to fastest iterating dimension.
Implements ITensorHandle.
Definition at line 212 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Get the strides for each dimension ordered from largest to smallest where the smallest value is the same as the size of a single element in the tensor.
Implements ITensorHandle.
Definition at line 207 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Implements IClTensorHandle.
Definition at line 185 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Implements IClTensorHandle.
Definition at line 186 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Indicate to the memory manager that this resource is active. This is used to compute overlapping lifetimes of resources.
Implements ITensorHandle.
Definition at line 189 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
Map the tensor data for access.
blocking | hint to block the calling thread until all other accesses are complete. (backend dependent) |
Implements ITensorHandle.
Definition at line 191 of file ClTensorHandle.hpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |