From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_maximum_for_leaky_relu_8cpp.xhtml | 290 +++++++++++++++++++++++++++++++ 1 file changed, 290 insertions(+) create mode 100644 20.02/_maximum_for_leaky_relu_8cpp.xhtml (limited to '20.02/_maximum_for_leaky_relu_8cpp.xhtml') diff --git a/20.02/_maximum_for_leaky_relu_8cpp.xhtml b/20.02/_maximum_for_leaky_relu_8cpp.xhtml new file mode 100644 index 0000000000..ab71c63da3 --- /dev/null +++ b/20.02/_maximum_for_leaky_relu_8cpp.xhtml @@ -0,0 +1,290 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfParser/test/MaximumForLeakyRelu.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
MaximumForLeakyRelu.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "armnnTfParser/ITfParser.hpp"
+#include "ParserPrototxtFixture.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + +

+Functions

 BOOST_FIXTURE_TEST_CASE (UnsupportedMaximum, UnsupportedMaximumFixture)
 
 BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_MulAT_T, LeakyRelu_Max_MulAT_T_Fixture)
 
 BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_T_MulAT, LeakyRelu_Max_T_MulAT_Fixture)
 
 BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_MulTA_T, LeakyRelu_Max_MulTA_T_Fixture)
 
 BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_T_MulTA, LeakyRelu_Max_T_MulTA_Fixture)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (UnsupportedMaximum ,
UnsupportedMaximumFixture  
)
+
+ +

Definition at line 50 of file MaximumForLeakyRelu.cpp.

+ +

References ParserPrototxtFixture< TParser >::SetupSingleInputSingleOutput().

+
51 {
52  BOOST_CHECK_THROW(
53  SetupSingleInputSingleOutput({ 1, 1 }, "graphInput", "Maximum"),
55 }
+
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_MulAT_T ,
LeakyRelu_Max_MulAT_T_Fixture  
)
+
+ +

Definition at line 129 of file MaximumForLeakyRelu.cpp.

+
130 {
131  RunTest<2>(std::vector<float>({-5.0, 3.0}), {-0.5, 3.0});
132 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_T_MulAT ,
LeakyRelu_Max_T_MulAT_Fixture  
)
+
+ +

Definition at line 141 of file MaximumForLeakyRelu.cpp.

+
142 {
143  RunTest<2>(std::vector<float>({-10.0, 3.0}), {-1.0, 3.0});
144 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_MulTA_T ,
LeakyRelu_Max_MulTA_T_Fixture  
)
+
+ +

Definition at line 152 of file MaximumForLeakyRelu.cpp.

+
153 {
154  RunTest<2>(std::vector<float>({-5.0, 3.0}), {-0.5, 3.0});
155 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (LeakyRelu_Max_T_MulTA ,
LeakyRelu_Max_T_MulTA_Fixture  
)
+
+ +

Definition at line 163 of file MaximumForLeakyRelu.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
164 {
165  RunTest<2>(std::vector<float>({-10.0, 13.0}), {-1.0, 13.0});
166 }
+
+
+
+
+ + + + -- cgit v1.2.1