22.08
|
#include <EthosnRefWorkloadFactory.hpp>
Public Member Functions | |
EthosnRefWorkloadFactory (const std::shared_ptr< EthosnRefMemoryManager > &memoryManager, bool winograd, std::string BlockConfigs) | |
EthosnRefWorkloadFactory () | |
~EthosnRefWorkloadFactory () | |
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 > | CreateInput (const InputQueueDescriptor &descriptor, const WorkloadInfo &info) const override |
std::unique_ptr< IWorkload > | CreateOutput (const OutputQueueDescriptor &descriptor, const WorkloadInfo &info) const override |
std::unique_ptr< IWorkload > | CreateConvolution2d (const Convolution2dQueueDescriptor &descriptor, const WorkloadInfo &info) const override |
std::unique_ptr< IWorkload > | CreateDepthwiseConvolution2d (const DepthwiseConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info) const override |
std::unique_ptr< IWorkload > | CreateTransposeConvolution2d (const TransposeConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info) const override |
std::unique_ptr< IWorkload > | CreatePooling2d (const Pooling2dQueueDescriptor &descriptor, const WorkloadInfo &info) const override |
Public Member Functions inherited from IWorkloadFactory | |
virtual | ~IWorkloadFactory () |
virtual void | AfterWorkloadsCreated () |
virtual std::unique_ptr< IWorkload > | CreateWorkload (LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const |
Static Public Member Functions | |
static bool | IsLayerSupported (const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
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 19 of file EthosnRefWorkloadFactory.hpp.
|
explicit |
Definition at line 24 of file EthosnRefWorkloadFactory.cpp.
Definition at line 31 of file EthosnRefWorkloadFactory.cpp.
|
inline |
Definition at line 25 of file EthosnRefWorkloadFactory.hpp.
References EthosnRefWorkloadFactory::GetBackendId(), and EthosnRefWorkloadFactory::IsLayerSupported().
|
override |
Definition at line 107 of file EthosnRefWorkloadFactory.cpp.
References armnn::info.
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
override |
Definition at line 113 of file EthosnRefWorkloadFactory.cpp.
References armnn::info.
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 68 of file EthosnRefWorkloadFactory.cpp.
References armnn::info, WorkloadInfo::m_InputTensorInfos, and WorkloadInfo::m_OutputTensorInfos.
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
override |
Definition at line 88 of file EthosnRefWorkloadFactory.cpp.
References armnn::info, WorkloadInfo::m_InputTensorInfos, and WorkloadInfo::m_OutputTensorInfos.
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
override |
Definition at line 127 of file EthosnRefWorkloadFactory.cpp.
References armnn::info.
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
inlineoverridevirtual |
Implements IWorkloadFactory.
Definition at line 35 of file EthosnRefWorkloadFactory.hpp.
References EthosnRefWorkloadFactory::CreateConvolution2d(), EthosnRefWorkloadFactory::CreateDepthwiseConvolution2d(), EthosnRefWorkloadFactory::CreateInput(), EthosnRefWorkloadFactory::CreateOutput(), EthosnRefWorkloadFactory::CreatePooling2d(), EthosnRefWorkloadFactory::CreateTensorHandle(), EthosnRefWorkloadFactory::CreateTransposeConvolution2d(), armnn::IgnoreUnused(), and armnn::info.
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 48 of file EthosnRefWorkloadFactory.cpp.
References armnn::IgnoreUnused().
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 57 of file EthosnRefWorkloadFactory.cpp.
References armnn::IgnoreUnused().
|
override |
Definition at line 120 of file EthosnRefWorkloadFactory.cpp.
References armnn::info.
Referenced by EthosnRefWorkloadFactory::CreateSubTensorHandle().
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 36 of file EthosnRefWorkloadFactory.cpp.
Referenced by EthosnRefWorkloadFactory::~EthosnRefWorkloadFactory().
|
static |
Definition at line 41 of file EthosnRefWorkloadFactory.cpp.
References IWorkloadFactory::IsLayerSupported().
Referenced by EthosnRefWorkloadFactory::~EthosnRefWorkloadFactory().
|
inlineoverridevirtual |
Implements IWorkloadFactory.
Definition at line 33 of file EthosnRefWorkloadFactory.hpp.