6 #include <boost/test/unit_test.hpp> 16 explicit AbsFixture(
const std::string &inputShape,
17 const std::string &outputShape,
18 const std::string &dataType)
26 layer_type: "InputLayer", 32 layerName: "InputLayer", 36 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 41 dimensions: )" + inputShape + R"(, 42 dataType: )" + dataType + R"( 50 layer_type: "AbsLayer", 54 layerName: "AbsLayer", 58 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 63 dimensions: )" + outputShape + R"(, 64 dataType: )" + dataType + R"( 72 layer_type: "OutputLayer", 78 layerName: "OutputLayer", 82 connection: {sourceLayerIndex:1, outputSlotIndex:0 }, 87 dimensions: )" + outputShape + R"(, 88 dataType: )" + dataType + R"( 102 struct SimpleAbsFixture : AbsFixture
105 : AbsFixture(
"[ 1, 2, 2, 2 ]",
113 RunTest<4, armnn::DataType::Float32>(
115 {{
"InputLayer", { -100.0f, -50.5f, -25.9999f, -0.5f , 0.0f, 1.5555f, 25.5f, 100.0f }}},
116 {{
"OutputLayer", { 100.0f, 50.5f, 25.9999f, 0.5f , 0.0f, 1.5555f, 25.5f, 100.0f }}});
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
BOOST_AUTO_TEST_SUITE_END()
BOOST_FIXTURE_TEST_CASE(SimpleAbsTest, SimpleAbsFixture)