23.05
|
Go to the documentation of this file.
24 return CloneBase<UnmapLayer>(graph,
GetName());
34 return std::make_unique<UnmapWorkload>(descriptor,
PrepInfoAndDesc(descriptor));
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
UnmapLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of UnmapLayer.
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 IgnoreUnused(Ts &&...)
This layer represents a memory copy operation.
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Copyright (c) 2021 ARM Limited and Contributors.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Unmap type.
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
UnmapLayer(const char *name)
Constructor to create a UnmapLayer.
#define ARMNN_ASSERT(COND)
const char * GetName() const override
Returns the name of the layer.