24.02
|
Go to the documentation of this file.
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.
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...
A layer user-provided data can be bound to (e.g. inputs, outputs).
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
void IgnoreUnused(Ts &&...)
~OutputLayer()=default
Default destructor.
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
Copyright (c) 2021 ARM Limited and Contributors.
OutputLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Returns nullptr for Output type.