31 return CloneBase<MaximumLayer>(graph,
GetName());
37 visitor.VisitMaximumLayer(
this,
GetName());
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
MaximumLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Maximum type.
Copyright (c) 2021 ARM Limited and Contributors.
#define ARMNN_NO_DEPRECATE_WARN_END
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
MaximumLayer(const char *name)
Constructor to create a MaximumLayer.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
ARMNN_NO_DEPRECATE_WARN_BEGIN void Accept(ILayerVisitor &visitor) const override
This layer represents a maximum operation.
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...