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 --- 20.02/structarmnn_1_1_pad_queue_descriptor.xhtml | 203 +++++++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 20.02/structarmnn_1_1_pad_queue_descriptor.xhtml (limited to '20.02/structarmnn_1_1_pad_queue_descriptor.xhtml') diff --git a/20.02/structarmnn_1_1_pad_queue_descriptor.xhtml b/20.02/structarmnn_1_1_pad_queue_descriptor.xhtml new file mode 100644 index 0000000000..6dfe2440cc --- /dev/null +++ b/20.02/structarmnn_1_1_pad_queue_descriptor.xhtml @@ -0,0 +1,203 @@ + + + + + + + + + + + + + +ArmNN: PadQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PadQueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

+
+Inheritance diagram for PadQueueDescriptor:
+
+
+ + +QueueDescriptorWithParameters< PadDescriptor > +QueueDescriptor + +
+ + + + + + + +

+Public Member Functions

void Validate (const WorkloadInfo &workloadInfo) const
 
- Public Member Functions inherited from QueueDescriptor
void ValidateInputsOutputs (const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Attributes inherited from QueueDescriptorWithParameters< PadDescriptor >
PadDescriptor m_Parameters
 
- Public Attributes inherited from QueueDescriptor
std::vector< ITensorHandle * > m_Inputs
 
std::vector< ITensorHandle * > m_Outputs
 
- Protected Member Functions inherited from QueueDescriptorWithParameters< PadDescriptor >
 ~QueueDescriptorWithParameters ()=default
 
 QueueDescriptorWithParameters ()=default
 
 QueueDescriptorWithParameters (QueueDescriptorWithParameters const &)=default
 
QueueDescriptorWithParametersoperator= (QueueDescriptorWithParameters const &)=default
 
- Protected Member Functions inherited from QueueDescriptor
 ~QueueDescriptor ()=default
 
 QueueDescriptor ()=default
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 
+

Detailed Description

+
+

Definition at line 252 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

+ +
+
+ + + + + + + + +
void Validate (const WorkloadInfoworkloadInfo) const
+
+ +

Definition at line 2206 of file WorkloadData.cpp.

+ +

References TensorInfo::GetNumDimensions(), WorkloadInfo::m_InputTensorInfos, and WorkloadInfo::m_OutputTensorInfos.

+
2207 {
2208  const std::string descriptorName{"PadQueueDescriptor"};
2209 
2210  ValidateNumInputs(workloadInfo, descriptorName, 1);
2211  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2212 
2213  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2214  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2215 
2216  // input and output should have the same number of dimensions
2217  ValidateTensorNumDimensions(outputTensorInfo, descriptorName, inputTensorInfo.GetNumDimensions(), "output");
2218 
2219  // there should be entry in the pad list for each dimension in the input tensor
2220  if (m_Parameters.m_PadList.size() != inputTensorInfo.GetNumDimensions()) {
2221  throw InvalidArgumentException(descriptorName + ":Pad List should contain the same number of entries "
2222  "as there are dimensions in the input tensor that is " +
2223  std::to_string(inputTensorInfo.GetNumDimensions()) + " entries " +
2224  " not " + std::to_string(m_Parameters.m_PadList.size()) + " entries.");
2225  }
2226 }
+
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
Specifies the padding for input dimension.
+ +
std::vector< TensorInfo > m_InputTensorInfos
+
std::vector< TensorInfo > m_OutputTensorInfos
+ +
unsigned int GetNumDimensions() const
Definition: Tensor.hpp:92
+
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1