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
This layer represents an unknown operation in the input graph.
Copyright (c) 2020 ARM Limited.
void IgnoreUnused(Ts &&...)
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Empty implementation explictly does NOT create a workload.
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.
void Accept(ILayerVisitor &visitor) const override
Accepts a visitor object and calls VisitStandInLayer() method.
virtual void VisitStandInLayer(const IConnectableLayer *layer, const StandInDescriptor &standInDescriptor, const char *name=nullptr)=0
Function a StandInLayer should call back to when its Accept(ILaterVisitor&) function is invoked...
Base class for all ArmNN exceptions so that users can filter to just those.
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.