ArmNN
 25.11
Loading...
Searching...
No Matches
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.
BaseTensoroperator= (const BaseTensor &)
 Tensors are copyable.
const TensorInfoGetInfo () const
const TensorShapeGetShape () const
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...)
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
CustomMemoryAllocatorSample.cpp, DynamicSample.cpp, and SimpleSample.cpp.

Definition at line 321 of file Tensor.hpp.


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