|
25.02
|
#include <NeonTensorHandle.hpp>
Public Member Functions | |
| NeonSubTensorHandle (IAclTensorHandle *parent, const arm_compute::TensorShape &shape, const arm_compute::Coordinates &coords) | |
| arm_compute::ITensor & | GetTensor () override |
| arm_compute::ITensor const & | GetTensor () const override |
| virtual void | Allocate () override |
| Indicate to the memory manager that this resource is no longer active. More... | |
| virtual void | Manage () override |
| Indicate to the memory manager that this resource is active. More... | |
| virtual ITensorHandle * | GetParent () const override |
| Get the parent tensor if this is a subtensor. More... | |
| virtual arm_compute::DataType | GetDataType () const override |
| virtual void | SetMemoryGroup (const std::shared_ptr< arm_compute::IMemoryGroup > &) override |
| virtual const void * | Map (bool) const override |
| Map the tensor data for access. More... | |
| virtual void | Unmap () const override |
| Unmap the tensor data. More... | |
| TensorShape | GetStrides () const override |
| 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. More... | |
| TensorShape | GetShape () const override |
| Get the number of elements for each dimension ordered from slowest iterating dimension to fastest iterating dimension. More... | |
| virtual std::shared_ptr< ITensorHandle > | DecorateTensorHandle (const TensorInfo &) override |
| Returns a decorated version of this TensorHandle allowing us to override the TensorInfo for it. More... | |
Public Member Functions inherited from ITensorHandle | |
| virtual | ~ITensorHandle () |
| void * | Map (bool blocking=true) |
| Map the tensor data for access. More... | |
| 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) |
| Import externally allocated memory. More... | |
| virtual bool | CanBeImported (void *memory, MemorySource source) |
| Implementations must determine if this memory block can be imported. More... | |
| virtual void | Unimport () |
| Unimport externally allocated memory. More... | |
Definition at line 293 of file NeonTensorHandle.hpp.
|
inline |
Definition at line 296 of file NeonTensorHandle.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 307 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
Returns a decorated version of this TensorHandle allowing us to override the TensorInfo for it.
| tensorInfo | the overidden TensorInfo. |
Reimplemented from ITensorHandle.
Definition at line 335 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
Implements IAclTensorHandle.
Definition at line 312 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
Get the parent tensor if this is a subtensor.
Implements ITensorHandle.
Definition at line 310 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
Get the number of elements for each dimension ordered from slowest iterating dimension to fastest iterating dimension.
Implements ITensorHandle.
Definition at line 330 of file NeonTensorHandle.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 325 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
Implements IAclTensorHandle.
Definition at line 305 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
Implements IAclTensorHandle.
Definition at line 304 of file NeonTensorHandle.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 308 of file NeonTensorHandle.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 319 of file NeonTensorHandle.hpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Unmap the tensor data.
Implements ITensorHandle.
Definition at line 323 of file NeonTensorHandle.hpp.