24.08
|
#include <SampleDynamicTensorHandleFactory.hpp>
Public Member Functions | |
SampleDynamicTensorHandleFactory (std::shared_ptr< SampleMemoryManager > mgr) | |
std::unique_ptr< armnn::ITensorHandle > | CreateSubTensorHandle (armnn::ITensorHandle &parent, armnn::TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override |
std::unique_ptr< armnn::ITensorHandle > | CreateTensorHandle (const armnn::TensorInfo &tensorInfo) const override |
std::unique_ptr< armnn::ITensorHandle > | CreateTensorHandle (const armnn::TensorInfo &tensorInfo, armnn::DataLayout dataLayout) const override |
std::unique_ptr< armnn::ITensorHandle > | CreateTensorHandle (const armnn::TensorInfo &tensorInfo, const bool IsMemoryManaged) const override |
Utility Functions for backends which require TensorHandles to have unmanaged memory. More... | |
std::unique_ptr< armnn::ITensorHandle > | CreateTensorHandle (const armnn::TensorInfo &tensorInfo, armnn::DataLayout dataLayout, const bool IsMemoryManaged) const override |
const FactoryId & | GetId () const override |
bool | SupportsSubTensors () const override |
armnn::MemorySourceFlags | GetExportFlags () const override |
armnn::MemorySourceFlags | GetImportFlags () const override |
Public Member Functions inherited from ITensorHandleFactory | |
virtual | ~ITensorHandleFactory () |
Some TensorHandleFactory decisions are deferred to run-time. More... | |
virtual bool | SupportsInPlaceComputation () const |
virtual bool | SupportsMapUnmap () const |
virtual std::vector< Capability > | GetCapabilities (const IConnectableLayer *layer, const IConnectableLayer *connectedLayer, CapabilityClass capabilityClass) |
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" |
Use the workload factory to create the tensor handle. More... | |
Definition at line 17 of file SampleDynamicTensorHandleFactory.hpp.
|
inline |
Definition at line 21 of file SampleDynamicTensorHandleFactory.hpp.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 23 of file SampleDynamicTensorHandleFactory.cpp.
References armnn::IgnoreUnused().
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 31 of file SampleDynamicTensorHandleFactory.cpp.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 37 of file SampleDynamicTensorHandleFactory.cpp.
References armnn::IgnoreUnused().
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 59 of file SampleDynamicTensorHandleFactory.cpp.
References armnn::IgnoreUnused().
|
overridevirtual |
Utility Functions for backends which require TensorHandles to have unmanaged memory.
These should be overloaded if required to facilitate direct import of input tensors and direct export of output tensors.
Reimplemented from ITensorHandleFactory.
Definition at line 45 of file SampleDynamicTensorHandleFactory.cpp.
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 85 of file SampleDynamicTensorHandleFactory.cpp.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 75 of file SampleDynamicTensorHandleFactory.cpp.
References SampleDynamicTensorHandleFactory::GetIdStatic().
|
static |
Definition at line 16 of file SampleDynamicTensorHandleFactory.cpp.
References sdb::SampleDynamicTensorHandleFactoryId().
Referenced by SampleDynamicTensorHandleFactory::GetId().
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 90 of file SampleDynamicTensorHandleFactory.cpp.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 80 of file SampleDynamicTensorHandleFactory.cpp.