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