From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...st_input_output_layer_visitor_8cpp_source.xhtml | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 20.02/_test_input_output_layer_visitor_8cpp_source.xhtml (limited to '20.02/_test_input_output_layer_visitor_8cpp_source.xhtml') diff --git a/20.02/_test_input_output_layer_visitor_8cpp_source.xhtml b/20.02/_test_input_output_layer_visitor_8cpp_source.xhtml new file mode 100644 index 0000000000..c6e97cd1a4 --- /dev/null +++ b/20.02/_test_input_output_layer_visitor_8cpp_source.xhtml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/TestInputOutputLayerVisitor.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TestInputOutputLayerVisitor.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
6 #include "Network.hpp"
7 
8 namespace armnn
9 {
10 
11 BOOST_AUTO_TEST_SUITE(TestInputOutputLayerVisitor)
12 
13 BOOST_AUTO_TEST_CASE(CheckInputLayerVisitorBindingIdAndName)
14 {
15  const char* layerName = "InputLayer";
16  TestInputLayerVisitor visitor(1, layerName);
17  Network net;
18 
19  IConnectableLayer *const layer = net.AddInputLayer(1, layerName);
20  layer->Accept(visitor);
21 }
22 
23 BOOST_AUTO_TEST_CASE(CheckInputLayerVisitorBindingIdAndNameNull)
24 {
25  TestInputLayerVisitor visitor(1);
26  Network net;
27 
28  IConnectableLayer *const layer = net.AddInputLayer(1);
29  layer->Accept(visitor);
30 }
31 
32 BOOST_AUTO_TEST_CASE(CheckOutputLayerVisitorBindingIdAndName)
33 {
34  const char* layerName = "OutputLayer";
35  TestOutputLayerVisitor visitor(1, layerName);
36  Network net;
37 
38  IConnectableLayer *const layer = net.AddOutputLayer(1, layerName);
39  layer->Accept(visitor);
40 }
41 
42 BOOST_AUTO_TEST_CASE(CheckOutputLayerVisitorBindingIdAndNameNull)
43 {
44  TestOutputLayerVisitor visitor(1);
45  Network net;
46 
47  IConnectableLayer *const layer = net.AddOutputLayer(1);
48  layer->Accept(visitor);
49 }
50 
52 
53 } //namespace armnn
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
+
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
Definition: INetwork.hpp:61
+
IConnectableLayer * AddOutputLayer(LayerBindingId id, const char *name=nullptr) override
Adds an output layer to the network.
Definition: Network.cpp:1310
+ +
IConnectableLayer * AddInputLayer(LayerBindingId id, const char *name=nullptr) override
Adds an input layer to the network.
Definition: Network.cpp:1041
+ +
Copyright (c) 2020 ARM Limited.
+ +
BOOST_AUTO_TEST_CASE(CheckConvolution2dLayer)
+
Private implementation of INetwork.
Definition: Network.hpp:28
+
BOOST_AUTO_TEST_SUITE_END()
+
virtual void Accept(ILayerVisitor &visitor) const =0
Apply a visitor to this layer.
+ +
+
+ + + + -- cgit v1.2.1