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/_quantize_8cpp.xhtml | 225 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 20.02/_quantize_8cpp.xhtml (limited to '20.02/_quantize_8cpp.xhtml') diff --git a/20.02/_quantize_8cpp.xhtml b/20.02/_quantize_8cpp.xhtml new file mode 100644 index 0000000000..23c3a2d096 --- /dev/null +++ b/20.02/_quantize_8cpp.xhtml @@ -0,0 +1,225 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfLiteParser/test/Quantize.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Quantize.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "ParserFlatbuffersFixture.hpp"
+#include "../TfLiteParser.hpp"
+#include <string>
+#include <iostream>
+
+

Go to the source code of this file.

+ + + + + + + + +

+Functions

 BOOST_FIXTURE_TEST_CASE (SimpleQuantizeQAsymm8, SimpleQuantizeFixtureQAsymm8)
 
 BOOST_FIXTURE_TEST_CASE (SimpleQuantizeQsymm16, SimpleQuantizeFixtureQSymm16)
 
 BOOST_FIXTURE_TEST_CASE (SimpleQuantizeQSymmS8, SimpleQuantizeFixtureQSymmS8)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (SimpleQuantizeQAsymm8 ,
SimpleQuantizeFixtureQAsymm8  
)
+
+ +

Definition at line 83 of file Quantize.cpp.

+
84  {
85  RunTest<2, armnn::DataType::Float32, armnn::DataType::QuantisedAsymm8>(
86  0,
87  {{"inputTensor", { 0.0f, 1.5f, 7.5f, 150.0f, 300.0f, 382.5f }}},
88  {{"outputTensor", { 0u, 1u, 5u, 100u, 200u, 255u }}});
89  }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (SimpleQuantizeQsymm16 ,
SimpleQuantizeFixtureQSymm16  
)
+
+ +

Definition at line 98 of file Quantize.cpp.

+
99  {
100  RunTest<2, armnn::DataType::Float32, armnn::DataType::QuantisedSymm16>(
101  0,
102  {{"inputTensor", { 0.0f, 1.5f, 7.5f, 49150.5f, -1.5f,-49152.0f }}},
103  {{"outputTensor", { 0, 1, 5, 32767, -1, -32768 }}});
104  }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (SimpleQuantizeQSymmS8 ,
SimpleQuantizeFixtureQSymmS8  
)
+
+ +

Definition at line 113 of file Quantize.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
114  {
115  RunTest<2, armnn::DataType::Float32, armnn::DataType::QSymmS8>(
116  0,
117  {{"inputTensor", { 0.0f, 1.5f, 7.5f, 190.5f, -192.0f, -1.5f }}},
118  {{"outputTensor", { 0, 1, 5, 127, -128, -1 }}});
119  }
+
+
+
+
+ + + + -- cgit v1.2.1