ArmNN
 21.02
Neg.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "ParserFlatbuffersFixture.hpp"
#include "../TfLiteParser.hpp"
#include <string>

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (ParseNeg, SimpleNegFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( ParseNeg  ,
SimpleNegFixture   
)

Definition at line 76 of file Neg.cpp.

References BOOST_AUTO_TEST_SUITE_END().

77 {
78  using armnn::DataType;
79  RunTest<4, DataType::Float32>(0, {{ "inputTensor", { 0.0f, 1.0f, -2.0f,
80  20.0855185f, -54.5980834f, 5.0f} }},
81  {{ "outputTensor",{ 0.0f, -1.0f, 2.0f,
82  -20.0855185f, 54.5980834f, -5.0f} }});
83 }
DataType
Definition: Types.hpp:32