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/_verification_helpers_8hpp_source.xhtml | 119 ++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 22.02/_verification_helpers_8hpp_source.xhtml (limited to '22.02/_verification_helpers_8hpp_source.xhtml') diff --git a/22.02/_verification_helpers_8hpp_source.xhtml b/22.02/_verification_helpers_8hpp_source.xhtml new file mode 100644 index 0000000000..ff11a9aa65 --- /dev/null +++ b/22.02/_verification_helpers_8hpp_source.xhtml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + +ArmNN: src/armnnUtils/VerificationHelpers.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.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