24 return CloneBase<MapLayer>(graph,
GetName());
34 return std::make_unique<MapWorkload>(descriptor,
PrepInfoAndDesc(descriptor));
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of MapLayer.
Copyright (c) 2021 ARM Limited and Contributors.
void IgnoreUnused(Ts &&...)
unsigned int GetNumOutputSlots() const override
Returns the number of connectable output slots.
MapLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
This layer represents a memory copy operation.
void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
#define ARMNN_NO_DEPRECATE_WARN_END
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
MapLayer(const char *name)
Constructor to create a MapLayer.
ARMNN_NO_DEPRECATE_WARN_BEGIN void Accept(ILayerVisitor &visitor) const override
#define ARMNN_ASSERT(COND)
void SetAdditionalInfo(QueueDescriptor &descriptor) const
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Map type.
Base class for all ArmNN exceptions so that users can filter to just those.
const char * GetName() const override
Returns the name of the layer.
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...