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