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/_ref_backend_tests_8cpp_source.xhtml | 119 +++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 22.02/_ref_backend_tests_8cpp_source.xhtml (limited to '22.02/_ref_backend_tests_8cpp_source.xhtml') diff --git a/22.02/_ref_backend_tests_8cpp_source.xhtml b/22.02/_ref_backend_tests_8cpp_source.xhtml new file mode 100644 index 0000000000..3fbd667aee --- /dev/null +++ b/22.02/_ref_backend_tests_8cpp_source.xhtml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/test/RefBackendTests.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefBackendTests.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
8 
9 #include <doctest/doctest.h>
10 
11 using namespace armnn;
12 
13 TEST_SUITE("RefBackendTests")
14 {
15 TEST_CASE("RefRegisterTensorHandleFactoriesMatchingImportFactoryId")
16 {
17  auto refBackend = std::make_unique<RefBackend>();
19  refBackend->RegisterTensorHandleFactories(registry);
20 
21  // When calling RegisterTensorHandleFactories, CopyAndImportFactoryPair is registered
22  // Get matching import factory id correctly
23  CHECK((registry.GetMatchingImportFactoryId(RefTensorHandleFactory::GetIdStatic()) ==
25 }
26 
27 TEST_CASE("RefCreateWorkloadFactoryMatchingImportFactoryId")
28 {
29  auto refBackend = std::make_unique<RefBackend>();
31  refBackend->CreateWorkloadFactory(registry);
32 
33  // When calling CreateWorkloadFactory, CopyAndImportFactoryPair is registered
34  // Get matching import factory id correctly
35  CHECK((registry.GetMatchingImportFactoryId(RefTensorHandleFactory::GetIdStatic()) ==
37 }
38 }
TEST_SUITE("TestConstTensorLayerVisitor")
+
static const FactoryId & GetIdStatic()
+
Copyright (c) 2021 ARM Limited and Contributors.
+ + + +
+
+ + + + -- cgit v1.2.1