ArmNN
NotReleased
|
#include <RefTensorHandleFactory.hpp>
Public Member Functions | |
RefTensorHandleFactory (std::shared_ptr< RefMemoryManager > mgr) | |
std::unique_ptr< ITensorHandle > | CreateSubTensorHandle (ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, DataLayout dataLayout) const override |
const FactoryId & | GetId () const override |
bool | SupportsSubTensors () const override |
MemorySourceFlags | GetExportFlags () const override |
MemorySourceFlags | GetImportFlags () const override |
Public Member Functions inherited from ITensorHandleFactory | |
virtual | ~ITensorHandleFactory () |
virtual std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, const bool IsMemoryManaged) const |
virtual std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, DataLayout dataLayout, const bool IsMemoryManaged) const |
virtual bool | SupportsMapUnmap () const final |
Static Public Member Functions | |
static const FactoryId & | GetIdStatic () |
Additional Inherited Members | |
Public Types inherited from ITensorHandleFactory | |
using | FactoryId = std::string |
Static Public Attributes inherited from ITensorHandleFactory | |
static const FactoryId | LegacyFactoryId = "armnn_legacy_factory" |
static const FactoryId | DeferredFactoryId = "armnn_deferred_factory" |
Definition at line 17 of file RefTensorHandleFactory.hpp.
|
inline |
Definition at line 21 of file RefTensorHandleFactory.hpp.
References RefTensorHandleFactory::CreateSubTensorHandle(), RefTensorHandleFactory::CreateTensorHandle(), RefTensorHandleFactory::GetExportFlags(), RefTensorHandleFactory::GetId(), RefTensorHandleFactory::GetIdStatic(), RefTensorHandleFactory::GetImportFlags(), and RefTensorHandleFactory::SupportsSubTensors().
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 22 of file RefTensorHandleFactory.cpp.
Referenced by RefTensorHandleFactory::RefTensorHandleFactory().
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 30 of file RefTensorHandleFactory.cpp.
Referenced by RefTensorHandleFactory::RefTensorHandleFactory().
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 35 of file RefTensorHandleFactory.cpp.
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 52 of file RefTensorHandleFactory.cpp.
Referenced by RefTensorHandleFactory::RefTensorHandleFactory().
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 42 of file RefTensorHandleFactory.cpp.
References RefTensorHandleFactory::GetIdStatic().
Referenced by RefTensorHandleFactory::RefTensorHandleFactory().
|
static |
Definition at line 16 of file RefTensorHandleFactory.cpp.
References armnn::RefTensorHandleFactoryId().
Referenced by RefBackend::GetHandleFactoryPreferences(), RefTensorHandleFactory::GetId(), and RefTensorHandleFactory::RefTensorHandleFactory().
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 57 of file RefTensorHandleFactory.cpp.
Referenced by RefTensorHandleFactory::RefTensorHandleFactory().
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 47 of file RefTensorHandleFactory.cpp.
Referenced by RefTensorHandleFactory::RefTensorHandleFactory().