From f4019872c1134c6fcc1d6993e5746f55c1e79208 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 8 Mar 2022 20:01:38 +0000 Subject: IVGCVSW-6819 Fix the directory structure and broken link to latest docu Signed-off-by: Nikhil Raj Change-Id: I05b559d15faf92c76ff536719693b361316be4f3 --- 22.02/structarmnn_1_1_pad_descriptor.xhtml | 339 +++++++++++++++++++++++++++++ 1 file changed, 339 insertions(+) create mode 100644 22.02/structarmnn_1_1_pad_descriptor.xhtml (limited to '22.02/structarmnn_1_1_pad_descriptor.xhtml') diff --git a/22.02/structarmnn_1_1_pad_descriptor.xhtml b/22.02/structarmnn_1_1_pad_descriptor.xhtml new file mode 100644 index 0000000000..ba917ce8d3 --- /dev/null +++ b/22.02/structarmnn_1_1_pad_descriptor.xhtml @@ -0,0 +1,339 @@ + + + + + + + + + + + + + +ArmNN: PadDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PadDescriptor Struct Reference
+
+
+ +

A PadDescriptor for the PadLayer. + More...

+ +

#include <Descriptors.hpp>

+
+Inheritance diagram for PadDescriptor:
+
+
+ + +BaseDescriptor + +
+ + + + + + + + + + + + + +

+Public Member Functions

 PadDescriptor ()
 
 PadDescriptor (const std::vector< std::pair< unsigned int, unsigned int >> &padList, const float &padValue=0, const PaddingMode &paddingMode=PaddingMode::Constant)
 
bool operator== (const PadDescriptor &rhs) const
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 
+ + + + + + + + + + +

+Public Attributes

std::vector< std::pair< unsigned int, unsigned int > > m_PadList
 Specifies the padding for input dimension. More...
 
float m_PadValue
 Optional value to use for padding, defaults to 0. More...
 
PaddingMode m_PaddingMode
 Specifies the Padding mode (Constant, Reflect or Symmetric) More...
 
+

Detailed Description

+

A PadDescriptor for the PadLayer.

+ +

Definition at line 1148 of file Descriptors.hpp.

+

Constructor & Destructor Documentation

+ +

◆ PadDescriptor() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
PadDescriptor ()
+
+inline
+
+ +

Definition at line 1150 of file Descriptors.hpp.

+
1151  {}
float m_PadValue
Optional value to use for padding, defaults to 0.
+
PaddingMode m_PaddingMode
Specifies the Padding mode (Constant, Reflect or Symmetric)
+ +
+
+
+ +

◆ PadDescriptor() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
PadDescriptor (const std::vector< std::pair< unsigned int, unsigned int >> & padList,
const float & padValue = 0,
const PaddingModepaddingMode = PaddingMode::Constant 
)
+
+inline
+
+ +

Definition at line 1153 of file Descriptors.hpp.

+
1156  : m_PadList(padList)
1157  , m_PadValue(padValue)
1158  , m_PaddingMode(paddingMode)
1159  {}
float m_PadValue
Optional value to use for padding, defaults to 0.
+
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
Specifies the padding for input dimension.
+
PaddingMode m_PaddingMode
Specifies the Padding mode (Constant, Reflect or Symmetric)
+
+
+
+

Member Function Documentation

+ +

◆ operator==()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator== (const PadDescriptorrhs) const
+
+inline
+
+ +

Definition at line 1161 of file Descriptors.hpp.

+ +

References PadDescriptor::m_PaddingMode, PadDescriptor::m_PadList, and PadDescriptor::m_PadValue.

+
1162  {
1163  return m_PadList == rhs.m_PadList && m_PadValue == rhs.m_PadValue && m_PaddingMode == rhs.m_PaddingMode;
1164  }
float m_PadValue
Optional value to use for padding, defaults to 0.
+
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
Specifies the padding for input dimension.
+
PaddingMode m_PaddingMode
Specifies the Padding mode (Constant, Reflect or Symmetric)
+
+
+
+

Member Data Documentation

+ +

◆ m_PaddingMode

+ + + +

◆ m_PadList

+ +
+
+ + + + +
std::vector<std::pair<unsigned int, unsigned int> > m_PadList
+
+ +

Specifies the padding for input dimension.

+

First is the number of values to add before the tensor in the dimension. Second is the number of values to add after the tensor in the dimension. The number of pairs should match the number of dimensions in the input tensor.

+ +

Definition at line 1170 of file Descriptors.hpp.

+ +

Referenced by PadLayer::Clone(), ClPadWorkload::ClPadWorkload(), PadLayer::CreateWorkload(), armnnSerializer::GetFlatBufferArgMinMaxFunction(), PadLayer::InferOutputShapes(), armnn::MirrorPad(), MirrorPad2dTestCommon(), MirrorPad3dTestCommon(), MirrorPad4dTestCommon(), NeonPadWorkload::NeonPadWorkload(), PadDescriptor::operator==(), TfLiteParserImpl::OutputShapeOfSqueeze(), armnn::Pad(), Pad2dTestCommon(), Pad3dTestCommon(), Pad4dTestCommon(), PadQAsymmTestCommon(), StringifyLayerParameters< PadDescriptor >::Serialize(), and armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d().

+ +
+
+ +

◆ m_PadValue

+ + +
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit v1.2.1