24.08
|
Go to the documentation of this file.
24 return CloneBase<MapLayer>(graph,
GetName());
34 return std::make_unique<MapWorkload>(descriptor,
PrepInfoAndDesc(descriptor));
MapLayer(const char *name)
Constructor to create a MapLayer.
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
const char * GetName() const override
Returns the name of the layer.
This layer represents a memory copy operation.
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
unsigned int GetNumOutputSlots() const override
Returns the number of connectable output slots.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Base class for all ArmNN exceptions so that users can filter to just those.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Map type.
void IgnoreUnused(Ts &&...)
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 VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.
MapLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.