ArmNN
 21.02
LeakyRelu.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 (ParseLeakyRelu, LeakyReluFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( ParseLeakyRelu  ,
LeakyReluFixture   
)

Definition at line 72 of file LeakyRelu.cpp.

References BOOST_AUTO_TEST_SUITE_END().

73 {
74  RunTest<2, armnn::DataType::Float32>(0,
75  {{ "inputTensor", { -0.1f, -0.2f, -0.3f, -0.4f, 0.1f, 0.2f, 0.3f }}},
76  {{ "outputTensor", { -0.001f, -0.002f, -0.003f, -0.004f, 0.1f, 0.2f, 0.3f }}});
77 }