ArmNN  NotReleased
DeserializeAdd.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "ParserFlatbuffersSerializeFixture.hpp"
#include "../Deserializer.hpp"
#include <boost/core/ignore_unused.hpp>
#include <string>
#include <iostream>

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (AddQuantisedAsymm8, SimpleAddFixture)
 
 BOOST_FIXTURE_TEST_CASE (AddFloat32, SimpleAddFixture2)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( AddQuantisedAsymm8  ,
SimpleAddFixture   
)

Definition at line 146 of file DeserializeAdd.cpp.

147 {
148  RunTest<2, armnn::DataType::QAsymmU8>(
149  0,
150  {{"InputLayer1", { 0, 1, 2, 3 }},
151  {"InputLayer2", { 4, 5, 6, 7 }}},
152  {{"OutputLayer", { 4, 6, 8, 10 }}});
153 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( AddFloat32  ,
SimpleAddFixture2   
)

Definition at line 155 of file DeserializeAdd.cpp.

References BOOST_AUTO_TEST_SUITE_END().

156 {
157  RunTest<4, armnn::DataType::Float32>(
158  0,
159  {{"InputLayer1", { 111, 85, 226, 3 }},
160  {"InputLayer2", { 5, 8, 10, 12 }}},
161  {{"OutputLayer", { 116, 93, 236, 15 }}});
162 }