23 throw Exception(
"Stand in layer does not support creating workloads");
34 throw Exception(
"Stand in layer does not support infering output shapes");
StandInLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
StandInDescriptor m_Param
The parameters for the layer (not including tensor-valued weights etc.).
const StandInDescriptor & GetParameters() const
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
This layer represents an unknown operation in the input graph.
Copyright (c) 2021 ARM Limited and Contributors.
void IgnoreUnused(Ts &&...)
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Empty implementation explictly does NOT create a workload.
#define ARMNN_NO_DEPRECATE_WARN_END
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) Does nothing since cannot validate any properties of this layer...
A StandInDescriptor for the StandIn layer.
Base class for all ArmNN exceptions so that users can filter to just those.
ARMNN_NO_DEPRECATE_WARN_BEGIN void Accept(ILayerVisitor &visitor) const override
Accepts a visitor object and calls VisitStandInLayer() method.
StandInLayer(const StandInDescriptor ¶m, const char *name)
Constructor to create a StandInLayer.
const char * GetName() const override
Returns the name of the layer.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Empty implementation that throws Exception if called.
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...