From d5d43d82c0137e08553e44345c609cdd1a7931c7 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 17 Jun 2022 13:24:58 +0100 Subject: Update Doxygen for 22.05 patch release * Pooling3D added to tfLite delegate * Available in tag 22.05.01 Signed-off-by: Nikhil Raj Change-Id: I8d605bba4e87d30baa2c6d7b338c78a4400dc021 --- ..._redirect_members_to_constant_inputs_impl.xhtml | 246 +++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 22.05.01/classarmnn_1_1optimizations_1_1_redirect_members_to_constant_inputs_impl.xhtml (limited to '22.05.01/classarmnn_1_1optimizations_1_1_redirect_members_to_constant_inputs_impl.xhtml') diff --git a/22.05.01/classarmnn_1_1optimizations_1_1_redirect_members_to_constant_inputs_impl.xhtml b/22.05.01/classarmnn_1_1optimizations_1_1_redirect_members_to_constant_inputs_impl.xhtml new file mode 100644 index 0000000000..c5880013b5 --- /dev/null +++ b/22.05.01/classarmnn_1_1optimizations_1_1_redirect_members_to_constant_inputs_impl.xhtml @@ -0,0 +1,246 @@ + + + + + + + + + + + + + +ArmNN: RedirectMembersToConstantInputsImpl Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.05.01 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
RedirectMembersToConstantInputsImpl Class Reference
+
+
+ +

#include <RedirectMembersToConstantInputs.hpp>

+ + + + + +

+Public Member Functions

void Run (Graph &graph, Layer &layer) const
 Search for layers with ConstantLayers as inputs. More...
 
+ + + + + +

+Protected Member Functions

 RedirectMembersToConstantInputsImpl ()=default
 
 ~RedirectMembersToConstantInputsImpl ()=default
 
+

Detailed Description

+
+

Definition at line 18 of file RedirectMembersToConstantInputs.hpp.

+

Constructor & Destructor Documentation

+ +

◆ RedirectMembersToConstantInputsImpl()

+ +
+
+ + + + + +
+ + + + + + + +
RedirectMembersToConstantInputsImpl ()
+
+protecteddefault
+
+
+ +

◆ ~RedirectMembersToConstantInputsImpl()

+ +
+
+ + + + + +
+ + + + + + + +
~RedirectMembersToConstantInputsImpl ()
+
+protecteddefault
+
+
+

Member Function Documentation

+ +

◆ Run()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Run (Graphgraph,
Layerlayer 
) const
+
+inline
+
+ +

Search for layers with ConstantLayers as inputs.

+

If the inputs are constant redirect the layers member variable for ConstTensors (e.g. m_weights) to the data stored in the ConstantLayer it is connected to.

+ +

Definition at line 23 of file RedirectMembersToConstantInputs.hpp.

+ +

References armnn::BatchNormalization, armnn::Constant, armnn::Convolution2d, armnn::DepthwiseConvolution2d, armnn::DetectionPostProcess, armnn::FullyConnected, OutputSlot::GetOwningLayer(), Layer::GetType(), armnn::IgnoreUnused(), armnn::Lstm, ConstantLayer::m_LayerOutput, RedirectMembersToConstantInputsImpl::RedirectMembersToConstantInputsImpl(), armnn::TransposeConvolution2d, and RedirectMembersToConstantInputsImpl::~RedirectMembersToConstantInputsImpl().

+
24  {
25  IgnoreUnused(graph);
26 
27  switch (layer.GetType())
28  {
30  break;
32  RedirectWeightsAndBiases<Convolution2dLayer>(&layer);
33  break;
35  RedirectWeightsAndBiases<DepthwiseConvolution2dLayer>(&layer);
36  break;
38  break;
40  RedirectWeightsAndBiases<FullyConnectedLayer>(&layer);
41  break;
42  case LayerType::Lstm:
43  break;
45  break;
46  default:
47  break;
48  }
49  }
+ +
void IgnoreUnused(Ts &&...)
+ + + + + +
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1