ArmNN
 21.02
ResizeBilinear.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "armnnTfParser/ITfParser.hpp"
#include "ParserPrototxtFixture.hpp"

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (ParseResizeBilinear, ResizeBilinearFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( ParseResizeBilinear  ,
ResizeBilinearFixture   
)

Definition at line 99 of file ResizeBilinear.cpp.

References BOOST_AUTO_TEST_SUITE_END().

100 {
101  RunTest<4>(// Input data.
102  { 0.0f, 1.0f, 2.0f,
103  3.0f, 4.0f, 5.0f,
104  6.0f, 7.0f, 8.0f },
105  // Expected output data.
106  { 0.0f, 0.6f, 1.2f, 1.8f, 2.0f,
107  1.8f, 2.4f, 3.0f, 3.6f, 3.8f,
108  3.6f, 4.2f, 4.8f, 5.4f, 5.6f,
109  5.4f, 6.0f, 6.6f, 7.2f, 7.4f,
110  6.0f, 6.6f, 7.2f, 7.8f, 8.0f });
111 
112 }