24.08
|
#include <TosaRefWorkloadFactory.hpp>
Public Member Functions | |
TosaRefWorkloadFactory (const std::shared_ptr< TosaRefMemoryManager > &memoryManager) | |
TosaRefWorkloadFactory () | |
~TosaRefWorkloadFactory () | |
const BackendId & | GetBackendId () const override |
bool | SupportsSubTensors () const override |
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 bool IsMemoryManaged=true) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, DataLayout dataLayout, const bool IsMemoryManaged=true) const override |
std::unique_ptr< IWorkload > | CreateWorkload (LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const override |
Backends should implement their own CreateWorkload function with a switch statement. More... | |
Public Member Functions inherited from IWorkloadFactory | |
virtual | ~IWorkloadFactory () |
virtual void | AfterWorkloadsCreated () |
Static Public Member Functions | |
static bool | IsLayerSupported (const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
static bool | IsLayerSupported (const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported, const ModelOptions &modelOptions) |
Static Public Member Functions inherited from IWorkloadFactory | |
static bool | IsLayerSupported (const BackendId &backendId, const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
static bool | IsLayerSupported (const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
static bool | IsLayerSupported (const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported, const ModelOptions &modelOptions) |
static bool | IsLayerSupported (const BackendId &backendId, const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported, const ModelOptions &modelOptions) |
Definition at line 18 of file TosaRefWorkloadFactory.hpp.
|
explicit |
Definition at line 49 of file TosaRefWorkloadFactory.cpp.
Definition at line 54 of file TosaRefWorkloadFactory.cpp.
|
inline |
Definition at line 24 of file TosaRefWorkloadFactory.hpp.
|
inlineoverridevirtual |
Implements IWorkloadFactory.
Definition at line 40 of file TosaRefWorkloadFactory.hpp.
References armnn::IgnoreUnused().
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 79 of file TosaRefWorkloadFactory.cpp.
References armnn::Malloc.
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 92 of file TosaRefWorkloadFactory.cpp.
References armnn::IgnoreUnused(), and armnn::Malloc.
|
overridevirtual |
Backends should implement their own CreateWorkload function with a switch statement.
The case for the switch should be the LayerType and based on that they will call their specific workload creation functionality.
Implements IWorkloadFactory.
Definition at line 110 of file TosaRefWorkloadFactory.cpp.
References armnn::info, and armnn::PreCompiled.
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 59 of file TosaRefWorkloadFactory.cpp.
|
static |
Definition at line 71 of file TosaRefWorkloadFactory.cpp.
References IWorkloadFactory::IsLayerSupported().
|
static |
Definition at line 64 of file TosaRefWorkloadFactory.cpp.
References IWorkloadFactory::IsLayerSupported().
|
inlineoverridevirtual |
Implements IWorkloadFactory.
Definition at line 37 of file TosaRefWorkloadFactory.hpp.