27 clone->m_PreCompiledObject =
const_cast<PreCompiledLayer*
>(
this)->m_PreCompiledObject;
49 m_PreCompiledObject = std::move(preCompiledObject);
PreCompiledLayer(const PreCompiledDescriptor ¶m, const char *name)
PreCompiledDescriptor m_Param
The parameters for the layer (not including tensor-valued weights etc.).
std::unique_ptr< void, PreCompiledObjectDeleter > PreCompiledObjectPtr
PreCompiledLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
Copyright (c) 2021 ARM Limited and Contributors.
const PreCompiledDescriptor & GetParameters() const override
void SetPreCompiledObject(PreCompiledObjectPtr preCompiledObject)
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
void * m_PreCompiledObject
virtual void ExecuteStrategy(const IConnectableLayer *layer, const armnn::BaseDescriptor &descriptor, const std::vector< armnn::ConstTensor > &constants, const char *name, const armnn::LayerBindingId id=0)=0
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
void SetAdditionalInfo(QueueDescriptor &descriptor) const
void ValidateTensorShapesFromInputs() override
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
const char * GetName() const override
Returns the name of the layer.
A PreCompiledDescriptor for the PreCompiledLayer.
virtual std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...