ArmNN
 21.02
IClTensorHandle Class Referenceabstract

#include <ClTensorHandle.hpp>

Inheritance diagram for IClTensorHandle:
IAclTensorHandle ITensorHandle ClSubTensorHandle ClTensorHandle

Public Member Functions

virtual arm_compute::ICLTensor & GetTensor ()=0
 
virtual arm_compute::ICLTensor const & GetTensor () const =0
 
virtual arm_compute::DataType GetDataType () const =0
 
virtual void SetMemoryGroup (const std::shared_ptr< arm_compute::IMemoryGroup > &memoryGroup)=0
 
- Public Member Functions inherited from ITensorHandle
virtual ~ITensorHandle ()
 
virtual void Manage ()=0
 Indicate to the memory manager that this resource is active. More...
 
virtual void Allocate ()=0
 Indicate to the memory manager that this resource is no longer active. More...
 
virtual ITensorHandleGetParent () const =0
 Get the parent tensor if this is a subtensor. More...
 
virtual const void * Map (bool blocking=true) const =0
 Map the tensor data for access. More...
 
virtual void Unmap () const =0
 Unmap the tensor data. More...
 
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 TensorShape GetStrides () const =0
 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...
 
virtual TensorShape GetShape () const =0
 Get the number of elements for each dimension ordered from slowest iterating dimension to fastest iterating dimension. More...
 
virtual void CopyOutTo (void *memory) const =0
 Testing support to be able to verify and set tensor data content. More...
 
virtual void CopyInFrom (const void *memory)=0
 
virtual unsigned int GetImportFlags () const
 Get flags describing supported import sources. More...
 
virtual bool Import (void *memory, MemorySource source)
 Import externally allocated memory. More...
 

Detailed Description

Definition at line 25 of file ClTensorHandle.hpp.

Member Function Documentation

◆ GetDataType()

virtual arm_compute::DataType GetDataType ( ) const
pure virtual

Implements IAclTensorHandle.

Implemented in ClSubTensorHandle, and ClTensorHandle.

◆ GetTensor() [1/2]

virtual arm_compute::ICLTensor& GetTensor ( )
pure virtual

Implements IAclTensorHandle.

Implemented in ClSubTensorHandle, and ClTensorHandle.

◆ GetTensor() [2/2]

virtual arm_compute::ICLTensor const& GetTensor ( ) const
pure virtual

Implements IAclTensorHandle.

Implemented in ClSubTensorHandle, and ClTensorHandle.

◆ SetMemoryGroup()

virtual void SetMemoryGroup ( const std::shared_ptr< arm_compute::IMemoryGroup > &  memoryGroup)
pure virtual

Implements IAclTensorHandle.

Implemented in ClSubTensorHandle, and ClTensorHandle.


The documentation for this class was generated from the following file: