From 9aed8fb43441228343b925b42464a55042c47ca0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 17 Nov 2021 13:16:45 +0000 Subject: IVGCVSW-6040 Update 21.11 Doxygen Documents Signed-off-by: Nikhil Raj Change-Id: Ia36ec98c4bebc27a69103911ea3409cd7db587a5 --- ...ory_optimizer_strategy_library_tests_8cpp.xhtml | 150 +++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 21.11/_memory_optimizer_strategy_library_tests_8cpp.xhtml (limited to '21.11/_memory_optimizer_strategy_library_tests_8cpp.xhtml') diff --git a/21.11/_memory_optimizer_strategy_library_tests_8cpp.xhtml b/21.11/_memory_optimizer_strategy_library_tests_8cpp.xhtml new file mode 100644 index 0000000000..183d59b202 --- /dev/null +++ b/21.11/_memory_optimizer_strategy_library_tests_8cpp.xhtml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/memoryOptimizerStrategyLibrary/test/MemoryOptimizerStrategyLibraryTests.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
MemoryOptimizerStrategyLibraryTests.cpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Functions

 TEST_SUITE ("StrategyLibraryTestSuite")
 
+

Function Documentation

+ +

◆ TEST_SUITE()

+ +
+
+ + + + + + + + +
TEST_SUITE ("StrategyLibraryTestSuite" )
+
+ +

Definition at line 12 of file MemoryOptimizerStrategyLibraryTests.cpp.

+ +

References armnn::GetMemoryOptimizerStrategy(), and armnn::GetMemoryOptimizerStrategyNames().

+
13 {
14 
15 TEST_CASE("StrategyLibraryTest")
16 {
17  std::vector<std::string> strategyNames = GetMemoryOptimizerStrategyNames();
18  CHECK(strategyNames.size() != 0);
19  for (const auto& strategyName: strategyNames)
20  {
21  auto strategy = GetMemoryOptimizerStrategy(strategyName);
22  CHECK(strategy);
23  CHECK(strategy->GetName() == strategyName);
24  }
25 }
26 
27 }
std::unique_ptr< IMemoryOptimizerStrategy > GetMemoryOptimizerStrategy(const std::string &strategyName)
+
const std::vector< std::string > GetMemoryOptimizerStrategyNames()
+
+
+
+
+
+ + + + -- cgit v1.2.1