29 const bool IsMemoryManaged =
true)
override 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.
~OutputLayer()=default
Default destructor.
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).
A layer user-provided data can be bound to (e.g. inputs, outputs).
virtual void CreateTensorHandles(const TensorHandleFactoryRegistry ®istry, const IWorkloadFactory &factory, const bool IsMemoryManaged=true) override
Set the outputs to be appropriate sub tensors of the input if sub tensors are supported otherwise cre...
OutputLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.