36 "OutputLayer: Input slot must be connected.");
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of OutputLayer.
OutputLayer(LayerBindingId id, const char *name)
Constructor to create an OutputLayer.
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
LayerBindingId GetBindingId() const
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Returns nullptr for Output type.
Copyright (c) 2020 ARM Limited.
void IgnoreUnused(Ts &&...)
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
const InputSlot & GetInputSlot(unsigned int index) const override
Get a const input slot handle by slot index.
A layer user-provided data can be bound to (e.g. inputs, outputs).
OutputLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
virtual void VisitOutputLayer(const IConnectableLayer *layer, LayerBindingId id, const char *name=nullptr)=0
Function an output layer should call back to when its Accept(ILayerVisitor&) function is invoked...
const char * GetName() const override
Returns the name of the layer.