32 return CloneBase<DivisionLayer>(graph,
GetName());
38 visitor.VisitDivisionLayer(
this,
GetName());
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
DivisionLayer(const char *name)
Constructor to create a DivisionLayer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Division 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.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
This layer represents a division operation.
const char * GetName() const override
Returns the name of the layer.
DivisionLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this 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...
ARMNN_NO_DEPRECATE_WARN_BEGIN void Accept(ILayerVisitor &visitor) const override