27 clone->m_PreCompiledObject.reset(const_cast<PreCompiledLayer*>(
this)->m_PreCompiledObject.release());
46 m_PreCompiledObject = std::move(preCompiledObject);
52 throw armnn::Exception(
"PreCompiledLayer 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) 2020 ARM Limited.
void IgnoreUnused(Ts &&...)
void SetPreCompiledObject(PreCompiledObjectPtr preCompiledObject)
void * m_PreCompiledObject
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
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.