ArmNN
 20.02
DeserializeDivision.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "ParserFlatbuffersSerializeFixture.hpp"
#include "../Deserializer.hpp"
#include <string>
#include <iostream>

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (DivisionQuantisedAsymm8, SimpleDivisionFixture)
 
 BOOST_FIXTURE_TEST_CASE (DivisionFloat32, SimpleDivisionFixture2)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( DivisionQuantisedAsymm8  ,
SimpleDivisionFixture   
)

Definition at line 142 of file DeserializeDivision.cpp.

143 {
144  RunTest<2, armnn::DataType::QAsymmU8>(
145  0,
146  {{"InputLayer1", { 0, 5, 24, 21 }},
147  {"InputLayer2", { 4, 1, 6, 7 }}},
148  {{"OutputLayer", { 0, 5, 3, 3 }}});
149 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( DivisionFloat32  ,
SimpleDivisionFixture2   
)

Definition at line 151 of file DeserializeDivision.cpp.

References BOOST_AUTO_TEST_SUITE_END().

152 {
153  RunTest<4, armnn::DataType::Float32>(
154  0,
155  {{"InputLayer1", { 100, 40, 226, 9 }},
156  {"InputLayer2", { 5, 8, 1, 3 }}},
157  {{"OutputLayer", { 20, 5, 226, 3 }}});
158 }