From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- ...ssarmnn_1_1_passthrough_cpu_tensor_handle.xhtml | 289 +++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 21.02/classarmnn_1_1_passthrough_cpu_tensor_handle.xhtml (limited to '21.02/classarmnn_1_1_passthrough_cpu_tensor_handle.xhtml') diff --git a/21.02/classarmnn_1_1_passthrough_cpu_tensor_handle.xhtml b/21.02/classarmnn_1_1_passthrough_cpu_tensor_handle.xhtml new file mode 100644 index 0000000000..f8466661ec --- /dev/null +++ b/21.02/classarmnn_1_1_passthrough_cpu_tensor_handle.xhtml @@ -0,0 +1,289 @@ + + + + + + + + + + + + + +ArmNN: PassthroughCpuTensorHandle Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PassthroughCpuTensorHandle Class Reference
+
+
+ +

#include <CpuTensorHandle.hpp>

+
+Inheritance diagram for PassthroughCpuTensorHandle:
+
+
+ + +CpuTensorHandle +ConstCpuTensorHandle +ITensorHandle + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 PassthroughCpuTensorHandle (const TensorInfo &tensorInfo, void *mem)
 
virtual void Allocate () override
 Indicate to the memory manager that this resource is no longer active. More...
 
- Public Member Functions inherited from CpuTensorHandle
template<typename T >
T * GetTensor () const
 
template<>
void * GetTensor () const
 
template<>
void * GetTensor () const
 
- Public Member Functions inherited from ConstCpuTensorHandle
template<typename T >
const T * GetConstTensor () const
 
const TensorInfoGetTensorInfo () const
 
virtual void Manage () override
 Indicate to the memory manager that this resource is active. More...
 
virtual ITensorHandleGetParent () const override
 Get the parent tensor if this is a subtensor. More...
 
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...
 
template<>
const void * GetConstTensor () const
 
template<>
const void * GetConstTensor () const
 
- 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...
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from CpuTensorHandle
 CpuTensorHandle (const TensorInfo &tensorInfo)
 
void SetMemory (void *mem)
 
- Protected Member Functions inherited from ConstCpuTensorHandle
 ConstCpuTensorHandle (const TensorInfo &tensorInfo)
 
void SetConstMemory (const void *mem)
 
+

Detailed Description

+
+

Definition at line 138 of file CpuTensorHandle.hpp.

+

Constructor & Destructor Documentation

+ +

◆ PassthroughCpuTensorHandle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
PassthroughCpuTensorHandle (const TensorInfotensorInfo,
void * mem 
)
+
+inline
+
+ +

Definition at line 141 of file CpuTensorHandle.hpp.

+ +

References ITensorHandle::Allocate().

+
142  : CpuTensorHandle(tensorInfo)
143  {
144  SetMemory(mem);
145  }
void SetMemory(void *mem)
+
CpuTensorHandle(const TensorInfo &tensorInfo)
+
+
+
+

Member Function Documentation

+ +

◆ Allocate()

+ +
+
+ + + + + +
+ + + + + + + +
void Allocate ()
+
+overridevirtual
+
+ +

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 131 of file CpuTensorHandle.cpp.

+
132 {
133  throw InvalidArgumentException("PassthroughCpuTensorHandle::Allocate() should never be called");
134 }
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1