24.08
|
Go to the documentation of this file.
32 return CloneBase<MultiplicationLayer>(graph,
GetName());
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
const char * GetName() const override
Returns the name of the layer.
MultiplicationLayer(const char *name)
Constructor to create a MultiplicationLayer.
This layer represents a multiplication operation.
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
virtual const BaseDescriptor & GetParameters() const override
If the layer has a descriptor return it.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Multiplication type.
Copyright (c) 2021 ARM Limited and Contributors.
MultiplicationLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
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