From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- ...mnn_1_1_bias_and_weights_types_compatible.xhtml | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 21.02/structarmnn_1_1_bias_and_weights_types_compatible.xhtml (limited to '21.02/structarmnn_1_1_bias_and_weights_types_compatible.xhtml') diff --git a/21.02/structarmnn_1_1_bias_and_weights_types_compatible.xhtml b/21.02/structarmnn_1_1_bias_and_weights_types_compatible.xhtml new file mode 100644 index 0000000000..02ae0e30b5 --- /dev/null +++ b/21.02/structarmnn_1_1_bias_and_weights_types_compatible.xhtml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + +ArmNN: BiasAndWeightsTypesCompatible Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
BiasAndWeightsTypesCompatible Struct Reference
+
+
+ +

#include <LayerSupportRules.hpp>

+
+Inheritance diagram for BiasAndWeightsTypesCompatible:
+
+
+ + +Rule + +
+ + + + + + + + +

+Public Member Functions

template<typename Container >
 BiasAndWeightsTypesCompatible (const TensorInfo &info, const Container &c)
 
- Public Member Functions inherited from Rule
bool operator() () const
 
+ + + + +

+Additional Inherited Members

- Public Attributes inherited from Rule
bool m_Res = true
 
+

Detailed Description

+
+

Definition at line 126 of file LayerSupportRules.hpp.

+

Constructor & Destructor Documentation

+ +

◆ BiasAndWeightsTypesCompatible()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
BiasAndWeightsTypesCompatible (const TensorInfoinfo,
const Container & c 
)
+
+inline
+
+ +

Definition at line 129 of file LayerSupportRules.hpp.

+ +

References armnn::GetBiasTypeFromWeightsType(), TensorInfo::GetDataType(), armnn::info, and Rule::m_Res.

+
130  {
131  m_Res = std::any_of(c.begin(), c.end(), [&info](DataType dt)
132  {
133  return dt == GetBiasTypeFromWeightsType(info.GetDataType()).value();
134  });
135  }
+
armnn::Optional< armnn::DataType > GetBiasTypeFromWeightsType(armnn::Optional< armnn::DataType > weightsType)
+
DataType
Definition: Types.hpp:32
+ +
+
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit v1.2.1