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 --- 21.02/_verification_helpers_8hpp_source.xhtml | 119 ++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 21.02/_verification_helpers_8hpp_source.xhtml (limited to '21.02/_verification_helpers_8hpp_source.xhtml') diff --git a/21.02/_verification_helpers_8hpp_source.xhtml b/21.02/_verification_helpers_8hpp_source.xhtml new file mode 100644 index 0000000000..fed2d074b7 --- /dev/null +++ b/21.02/_verification_helpers_8hpp_source.xhtml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + +ArmNN: src/armnnUtils/VerificationHelpers.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
VerificationHelpers.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include <iostream>
7 #include <sstream>
8 
9 #include <armnn/Exceptions.hpp>
10 
11 namespace armnnUtils
12 {
13 
14 void CheckValidSize(std::initializer_list<size_t> validInputCounts,
15  size_t actualValue,
16  const char* validExpr,
17  const char* actualExpr,
18  const armnn::CheckLocation& location);
19 
20 uint32_t NonNegative(const char* expr,
21  int32_t value,
22  const armnn::CheckLocation& location);
23 
24 int32_t VerifyInt32(const char* expr,
25  int64_t value,
26  const armnn::CheckLocation& location);
27 
28 }//armnnUtils
29 
30 #define CHECKED_INT32(VALUE) armnnUtils::VerifyInt32(#VALUE, VALUE, CHECK_LOCATION())
31 
32 #define CHECK_VALID_SIZE(ACTUAL, ...) \
33 armnnUtils::CheckValidSize({__VA_ARGS__}, ACTUAL, #__VA_ARGS__, #ACTUAL, CHECK_LOCATION())
34 
35 #define CHECKED_NON_NEGATIVE(VALUE) armnnUtils::NonNegative(#VALUE, VALUE, CHECK_LOCATION())
void CheckValidSize(std::initializer_list< size_t > validInputCounts, size_t actualValue, const char *validExpr, const char *actualExpr, const CheckLocation &location)
+ +
uint32_t NonNegative(const char *expr, int32_t value, const CheckLocation &location)
+ +
int32_t VerifyInt32(const char *expr, int64_t value, const armnn::CheckLocation &location)
+ +
+
+ + + + -- cgit v1.2.1