ArmNN
 20.02
Reshape.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "armnnOnnxParser/IOnnxParser.hpp"
#include "ParserPrototxtFixture.hpp"

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (ValidReshapeTest, ReshapeValidFixture)
 
 BOOST_FIXTURE_TEST_CASE (IncorrectDataTypeReshape, ReshapeInvalidFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( ValidReshapeTest  ,
ReshapeValidFixture   
)

Definition at line 100 of file Reshape.cpp.

101 {
102  RunTest<2>({{"Input", { 0.0f, 1.0f, 2.0f, 3.0f }}}, {{"Output", { 0.0f, 1.0f, 2.0f, 3.0f }}});
103 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( IncorrectDataTypeReshape  ,
ReshapeInvalidFixture   
)

Definition at line 105 of file Reshape.cpp.

References BOOST_AUTO_TEST_SUITE_END().

106 {
107  BOOST_CHECK_THROW(Setup(), armnn::ParseException);
108 }