From 1dc83febfb76d6a770bdf3ba16c4034a970c2320 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Thu, 16 May 2024 09:47:51 +0100 Subject: IVGCVSW-8260 Update Doxgen Docu for 24.05 Signed-off-by: Nikhil Raj Change-Id: If4bc983bf2793a27ded8e26ac2b29523fc1e4711 --- latest/_map_layer_8cpp_source.html | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) (limited to 'latest/_map_layer_8cpp_source.html') diff --git a/latest/_map_layer_8cpp_source.html b/latest/_map_layer_8cpp_source.html index e5fa2e9324..29cb699879 100644 --- a/latest/_map_layer_8cpp_source.html +++ b/latest/_map_layer_8cpp_source.html @@ -36,7 +36,7 @@ ArmNN
-  24.02 +  24.05
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('_map_layer_8cpp_source.html',''); init
Go to the documentation of this file.
1 //
-
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
+
2 // Copyright © 2020,2024 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #include "MapLayer.hpp"
@@ -136,24 +136,27 @@ $(document).ready(function(){initNavTree('_map_layer_8cpp_source.html',''); init
38 {
39  // validates that the input is connected.
- -
42 }
-
43 
-
44 void MapLayer::ExecuteStrategy(IStrategy& strategy) const
-
45 {
-
46  IgnoreUnused(strategy);
-
47  throw armnn::Exception("MapLayer should not appear in an input graph");
-
48 }
-
49 
-
50 } // namespace armnn
+
41  if (GetNumOutputSlots() != 0)
+
42  {
+
43  throw armnn::LayerValidationException("Output slots must be \"0\" - currently \""
+
44  + std::to_string(GetNumOutputSlots()) + "\".");
+
45  }
+
46 }
+
47 
+
48 void MapLayer::ExecuteStrategy(IStrategy& strategy) const
+
49 {
+
50  IgnoreUnused(strategy);
+
51  throw armnn::Exception("MapLayer should not appear in an input graph");
+
52 }
+
53 
+
54 } // namespace armnn
-
#define ARMNN_ASSERT(COND)
Definition: Assert.hpp:14
MapLayer(const char *name)
Constructor to create a MapLayer.
Definition: MapLayer.cpp:17
-
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
Definition: MapLayer.cpp:44
+
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
Definition: MapLayer.cpp:48
#define CHECK_LOCATION()
Definition: Exceptions.hpp:203
@@ -162,16 +165,17 @@ $(document).ready(function(){initNavTree('_map_layer_8cpp_source.html',''); init
This layer represents a memory copy operation.
Definition: MapLayer.hpp:13
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
Definition: Layer.hpp:409
+
unsigned int GetNumOutputSlots() const override
Returns the number of connectable output slots.
Definition: Layer.hpp:335
-
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:287
+
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:303
Base class for all ArmNN exceptions so that users can filter to just those.
Definition: Exceptions.hpp:46
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Map type.
Definition: MapLayer.cpp:27
void IgnoreUnused(Ts &&...)
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of MapLayer.
Definition: MapLayer.cpp:37
Copyright (c) 2021 ARM Limited and Contributors.
-
void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
Definition: Layer.cpp:391
+
void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
Definition: Layer.cpp:410
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.
Definition: Types.hpp:491
@@ -181,7 +185,7 @@ $(document).ready(function(){initNavTree('_map_layer_8cpp_source.html',''); init