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