// // Copyright © 2023-2024 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "TileTestHelper.hpp" #include namespace armnnDelegate { void TileFloat32Test() { // Set input data std::vector inputValues = { 0.f, 1.f, 2.f, 3.f, 4.f, 5.f }; // Set output data std::vector expectedOutputValues = { 0.f, 1.f, 2.f, 0.f, 1.f, 2.f, 3.f, 4.f, 5.f, 3.f, 4.f, 5.f, 0.f, 1.f, 2.f, 0.f, 1.f, 2.f, 3.f, 4.f, 5.f, 3.f, 4.f, 5.f }; // The multiples const std::vector multiplesValues = { 2, 2 }; // Set shapes const std::vector inputShape = { 2, 3 }; const std::vector multiplesShape = { 2 }; const std::vector expectedOutputShape = { 4, 6 }; TileFP32TestImpl(tflite::BuiltinOperator_TILE, inputValues, inputShape, multiplesValues, multiplesShape, expectedOutputValues, expectedOutputShape); } TEST_SUITE("TileTestsTests") { TEST_CASE ("Tile_Float32_Test") { TileFloat32Test(); } } // TEST_SUITE("Tile_Float32_Test") } // namespace armnnDelegate