6 #include <boost/test/unit_test.hpp> 16 explicit FloorFixture(
const std::string& shape,
17 const std::string& dataType)
25 layer_type: "InputLayer", 31 layerName: "InputLayer", 35 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 40 dimensions: )" + shape + R"(, 41 dataType: )" + dataType + R"( 46 layer_type: "FloorLayer", 50 layerName: "FloorLayer", 54 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 59 dimensions: )" + shape + R"(, 60 dataType: )" + dataType + R"( 66 layer_type: "OutputLayer", 72 layerName: "OutputLayer", 76 connection: {sourceLayerIndex:1, outputSlotIndex:0 }, 81 dimensions: )" + shape + R"(, 82 dataType: )" + dataType + R"( 94 struct SimpleFloorFixture : FloorFixture
96 SimpleFloorFixture() : FloorFixture(
"[ 1, 3, 3, 1 ]",
102 RunTest<4, armnn::DataType::Float32>(
104 {{
"InputLayer", { -37.5f, -15.2f, -8.76f, -2.0f, -1.5f, -1.3f, -0.5f, -0.4f, 0.0f}}},
105 {{
"OutputLayer",{ -38.0f, -16.0f, -9.0f, -2.0f, -2.0f, -2.0f, -1.0f, -1.0f, 0.0f}}});
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
BOOST_FIXTURE_TEST_CASE(Floor, SimpleFloorFixture)
BOOST_AUTO_TEST_SUITE_END()