13 ReshapeMainFixture(
const std::string& dataType)
18 producer_version: "2.5.1" 27 elem_type: )" + dataType + R"( 89 ReshapeRank4Fixture(
const std::string& dataType)
94 producer_version: "2.5.1" 103 elem_type: )" + dataType + R"( 172 struct ReshapeValidFixture : ReshapeMainFixture
174 ReshapeValidFixture() : ReshapeMainFixture(
"1") {
179 struct ReshapeValidRank4Fixture : ReshapeRank4Fixture
181 ReshapeValidRank4Fixture() : ReshapeRank4Fixture(
"1") {
186 struct ReshapeInvalidFixture : ReshapeMainFixture
188 ReshapeInvalidFixture() : ReshapeMainFixture(
"10") { }
193 RunTest<2>({{
"Input", { 0.0f, 1.0f, 2.0f, 3.0f }}}, {{
"Output", { 0.0f, 1.0f, 2.0f, 3.0f }}});
200 {1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
201 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
202 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f}}},
204 {1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
205 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
206 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f}}});
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
TEST_SUITE("OnnxParser_Reshape")