27 clone->m_PreCompiledObject =
const_cast<PreCompiledLayer*
>(
this)->m_PreCompiledObject;
49 m_PreCompiledObject = std::move(preCompiledObject);
55 throw armnn::Exception(
"PreCompiledLayer should not appear in an input graph");
61 throw armnn::Exception(
"FakeQuantizationLayer should not appear in an input graph");
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.
void IgnoreUnused(Ts &&...)
void SetPreCompiledObject(PreCompiledObjectPtr preCompiledObject)
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
void * m_PreCompiledObject
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Base class for all ArmNN exceptions so that users can filter to just those.
void ValidateTensorShapesFromInputs() override
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
const char * GetName() const override
Returns the name of the layer.
A PreCompiledDescriptor for the PreCompiledLayer.
virtual std::unique_ptr< IWorkload > CreatePreCompiled(const PreCompiledQueueDescriptor &descriptor, const WorkloadInfo &info) const
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...