30 return CloneBase<MultiplicationLayer>(graph,
GetName());
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Multiplication type.
virtual std::unique_ptr< IWorkload > CreateMultiplication(const MultiplicationQueueDescriptor &descriptor, const WorkloadInfo &info) const
Copyright (c) 2020 ARM Limited.
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
virtual void VisitMultiplicationLayer(const IConnectableLayer *layer, const char *name=nullptr)=0
Function that a multiplication layer should call back to when its Accept(ILayerVisitor&) function is ...
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
MultiplicationLayer(const char *name)
Constructor to create a MultiplicationLayer.
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.
This layer represents a multiplication operation.
MultiplicationLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.