ArmNN
 20.11
Relu.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 (ValidReluTest, ReluMainFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( ValidReluTest  ,
ReluMainFixture   
)

Definition at line 64 of file Relu.cpp.

References BOOST_AUTO_TEST_SUITE_END().

65 {
66  RunTest<1>({{"Input", { -1.0f, -0.5f, 1.25f, -3.0f}}},
67  {{ "Output", { 0.0f, 0.0f, 1.25f, 0.0f}}});
68 }