32 return CloneBase<MinimumLayer>(graph,
GetName());
38 visitor.VisitMinimumLayer(
this,
GetName());
This layer represents a minimum operation.
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
Copyright (c) 2021 ARM Limited and Contributors.
#define ARMNN_NO_DEPRECATE_WARN_END
MinimumLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
MinimumLayer(const char *name)
Constructor to create a MinimumLayer.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
ARMNN_NO_DEPRECATE_WARN_BEGIN void Accept(ILayerVisitor &visitor) const override
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.
virtual std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Minimum type.