From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_output_layer_8cpp_source.xhtml | 138 ++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 21.02/_output_layer_8cpp_source.xhtml (limited to '21.02/_output_layer_8cpp_source.xhtml') diff --git a/21.02/_output_layer_8cpp_source.xhtml b/21.02/_output_layer_8cpp_source.xhtml new file mode 100644 index 0000000000..ab87f82d58 --- /dev/null +++ b/21.02/_output_layer_8cpp_source.xhtml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/OutputLayer.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
OutputLayer.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #include "OutputLayer.hpp"
6 
7 #include "LayerCloneBase.hpp"
8 
12 
13 namespace armnn
14 {
15 
17  : BindableLayer(1, 0, LayerType::Output, name, id)
18 {
19 }
20 
21 std::unique_ptr<IWorkload> OutputLayer::CreateWorkload(const IWorkloadFactory& factory) const
22 {
23  IgnoreUnused(factory);
24  return nullptr;
25 }
26 
28 {
29  return CloneBase<OutputLayer>(graph, GetBindingId(), GetName());
30 }
31 
33 {
34 
35  // Just validates that the input is connected.
36  ConditionalThrow<LayerValidationException>(GetInputSlot(0).GetConnection() != nullptr,
37  "OutputLayer: Input slot must be connected.");
38 }
39 
40 void OutputLayer::Accept(ILayerVisitor& visitor) const
41 {
42  visitor.VisitOutputLayer(this, GetBindingId(), GetName());
43 }
44 
45 } // namespace armnn
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of OutputLayer.
Definition: OutputLayer.cpp:32
+
OutputLayer(LayerBindingId id, const char *name)
Constructor to create an OutputLayer.
Definition: OutputLayer.cpp:16
+ + +
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
Definition: OutputLayer.cpp:40
+ + +
LayerBindingId GetBindingId() const
Definition: Layer.hpp:444
+ + +
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Returns nullptr for Output type.
Definition: OutputLayer.cpp:21
+
Copyright (c) 2021 ARM Limited and Contributors.
+
void IgnoreUnused(Ts &&...)
+
const IOutputSlot * GetConnection() const override
Definition: Layer.hpp:199
+ +
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
Definition: Types.hpp:210
+
const InputSlot & GetInputSlot(unsigned int index) const override
Get a const input slot handle by slot index.
Definition: Layer.hpp:316
+
A layer user-provided data can be bound to (e.g. inputs, outputs).
Definition: OutputLayer.hpp:13
+ +
OutputLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
Definition: OutputLayer.cpp:27
+
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.
Definition: Layer.hpp:311
+ +
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...
Definition: Types.hpp:419
+
+
+ + + + -- cgit v1.2.1