ArmNN
 20.05
Pad.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 (ParsePad, SimplePadFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( ParsePad  ,
SimplePadFixture   
)

Definition at line 93 of file Pad.cpp.

References BOOST_AUTO_TEST_SUITE_END().

94 {
95  RunTest<2, armnn::DataType::Float32>
96  (0,
97  {{ "inputTensor", { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f }}},
98  {{ "outputTensor", { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,
99  0.0f, 0.0f, 1.0f, 2.0f, 3.0f, 0.0f, 0.0f,
100  0.0f, 0.0f, 4.0f, 5.0f, 6.0f, 0.0f, 0.0f,
101  0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }}});
102 }