24.02
|
AdditionalInfoObjectPtr m_AdditionalInfoObject
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
const FusedDescriptor & GetParameters() const override
const char * GetName() const override
Returns the name of the layer.
A FusedDescriptor for the FusedLayer.
FusedDescriptor m_Param
The parameters for the layer (not including tensor-valued weights etc.).
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
FusedLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
FusedLayer(const FusedDescriptor ¶m, const char *name)
Copyright (c) 2021 ARM Limited and Contributors.
void ValidateTensorShapesFromInputs() override
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.
virtual std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const =0
Backends should implement their own CreateWorkload function with a switch statement.
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