23.05
|
Go to the documentation of this file.
24 return CloneBase<MapLayer>(graph,
GetName());
34 return std::make_unique<MapWorkload>(descriptor,
PrepInfoAndDesc(descriptor));
unsigned int GetNumOutputSlots() const override
Returns the number of connectable output slots.
Base class for all ArmNN exceptions so that users can filter to just those.
void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of MapLayer.
void IgnoreUnused(Ts &&...)
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Copyright (c) 2021 ARM Limited and Contributors.
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 Map type.
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
MapLayer(const char *name)
Constructor to create a MapLayer.
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
#define ARMNN_ASSERT(COND)
This layer represents a memory copy operation.
MapLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
const char * GetName() const override
Returns the name of the layer.