ArmNN
 20.08
Sub.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 (SimpleSub, SimpleSubFixture)
 
 BOOST_FIXTURE_TEST_CASE (DynamicSub, DynamicSubFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( SimpleSub  ,
SimpleSubFixture   
)

Definition at line 98 of file Sub.cpp.

99 {
100  RunTest<2, armnn::DataType::QAsymmU8>(
101  0,
102  {{"inputTensor1", { 4, 5, 6, 7 }},
103  {"inputTensor2", { 3, 2, 1, 0 }}},
104  {{"outputTensor", { 1, 3, 5, 7 }}});
105 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( DynamicSub  ,
DynamicSubFixture   
)

Definition at line 114 of file Sub.cpp.

References BOOST_AUTO_TEST_SUITE_END().

115 {
116  RunTest<2, armnn::DataType::QAsymmU8, armnn::DataType::QAsymmU8>(
117  0,
118  {{"inputTensor1", { 4, 5, 6, 7 }},
119  {"inputTensor2", { 3, 2, 1, 0 }}},
120  {{"outputTensor", { 1, 3, 5, 7 }}},
121  true);
122 }