ArmNN
 26.07
Tensor Class Reference

A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. More...

#include <Tensor.hpp>

Inheritance diagram for Tensor:
[legend]
Collaboration diagram for Tensor:
[legend]

Additional Inherited Members

- Public Member Functions inherited from BaseTensor< void * >
 BaseTensor ()
 Empty (invalid) constructor. More...
 
 BaseTensor (const TensorInfo &info, void * memoryArea)
 Constructor from a raw memory pointer. More...
 
 BaseTensor (const BaseTensor &other)
 Tensors are copyable. More...
 
BaseTensor & operator= (const BaseTensor &)
 Tensors are copyable. More...
 
const TensorInfo & GetInfo () const
 
TensorInfo & GetInfo ()
 
const TensorShape & GetShape () const
 
TensorShape & GetShape ()
 
DataType GetDataType () const
 
unsigned int GetNumDimensions () const
 
unsigned int GetNumBytes () const
 
unsigned int GetNumElements () const
 
void * GetMemoryArea () const
 
- Protected Member Functions inherited from BaseTensor< void * >
 ~BaseTensor ()
 Protected destructor to stop users from making these (could still new one on the heap and then leak it...) More...
 
- Protected Attributes inherited from BaseTensor< void * >
void * m_MemoryArea
 

Detailed Description

A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.

Examples
DynamicSample.cpp, and SimpleSample.cpp.

Definition at line 321 of file Tensor.hpp.


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