// clang-format off // Generated file (from: slice.mod.py). Do not edit #include "../../TestGenerated.h" namespace slice { // Generated slice test #include "generated/examples/slice.example.cpp" // Generated model constructor #include "generated/models/slice.model.cpp" } // namespace slice TEST_F(GeneratedTests, slice) { execute(slice::CreateModel, slice::is_ignored, slice::get_examples()); } TEST_AVAILABLE_SINCE(V1_2, slice, slice::CreateModel) TEST_F(GeneratedTests, slice_relaxed) { execute(slice::CreateModel_relaxed, slice::is_ignored_relaxed, slice::get_examples_relaxed()); } TEST_F(GeneratedTests, slice_float16) { execute(slice::CreateModel_float16, slice::is_ignored_float16, slice::get_examples_float16()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16, slice::CreateModel_float16) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape) { execute(slice::CreateModel_dynamic_output_shape, slice::is_ignored_dynamic_output_shape, slice::get_examples_dynamic_output_shape()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed) { execute(slice::CreateModel_dynamic_output_shape_relaxed, slice::is_ignored_dynamic_output_shape_relaxed, slice::get_examples_dynamic_output_shape_relaxed()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16) { execute(slice::CreateModel_dynamic_output_shape_float16, slice::is_ignored_dynamic_output_shape_float16, slice::get_examples_dynamic_output_shape_float16()); } TEST_F(GeneratedTests, slice_2) { execute(slice::CreateModel_2, slice::is_ignored_2, slice::get_examples_2()); } TEST_AVAILABLE_SINCE(V1_2, slice_2, slice::CreateModel_2) TEST_F(GeneratedTests, slice_relaxed_2) { execute(slice::CreateModel_relaxed_2, slice::is_ignored_relaxed_2, slice::get_examples_relaxed_2()); } TEST_F(GeneratedTests, slice_float16_2) { execute(slice::CreateModel_float16_2, slice::is_ignored_float16_2, slice::get_examples_float16_2()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_2, slice::CreateModel_float16_2) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_2) { execute(slice::CreateModel_dynamic_output_shape_2, slice::is_ignored_dynamic_output_shape_2, slice::get_examples_dynamic_output_shape_2()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_2) { execute(slice::CreateModel_dynamic_output_shape_relaxed_2, slice::is_ignored_dynamic_output_shape_relaxed_2, slice::get_examples_dynamic_output_shape_relaxed_2()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_2) { execute(slice::CreateModel_dynamic_output_shape_float16_2, slice::is_ignored_dynamic_output_shape_float16_2, slice::get_examples_dynamic_output_shape_float16_2()); } TEST_F(GeneratedTests, slice_3) { execute(slice::CreateModel_3, slice::is_ignored_3, slice::get_examples_3()); } TEST_AVAILABLE_SINCE(V1_2, slice_3, slice::CreateModel_3) TEST_F(GeneratedTests, slice_relaxed_3) { execute(slice::CreateModel_relaxed_3, slice::is_ignored_relaxed_3, slice::get_examples_relaxed_3()); } TEST_F(GeneratedTests, slice_float16_3) { execute(slice::CreateModel_float16_3, slice::is_ignored_float16_3, slice::get_examples_float16_3()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_3, slice::CreateModel_float16_3) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_3) { execute(slice::CreateModel_dynamic_output_shape_3, slice::is_ignored_dynamic_output_shape_3, slice::get_examples_dynamic_output_shape_3()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_3) { execute(slice::CreateModel_dynamic_output_shape_relaxed_3, slice::is_ignored_dynamic_output_shape_relaxed_3, slice::get_examples_dynamic_output_shape_relaxed_3()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_3) { execute(slice::CreateModel_dynamic_output_shape_float16_3, slice::is_ignored_dynamic_output_shape_float16_3, slice::get_examples_dynamic_output_shape_float16_3()); } TEST_F(GeneratedTests, slice_4) { execute(slice::CreateModel_4, slice::is_ignored_4, slice::get_examples_4()); } TEST_AVAILABLE_SINCE(V1_2, slice_4, slice::CreateModel_4) TEST_F(GeneratedTests, slice_relaxed_4) { execute(slice::CreateModel_relaxed_4, slice::is_ignored_relaxed_4, slice::get_examples_relaxed_4()); } TEST_F(GeneratedTests, slice_float16_4) { execute(slice::CreateModel_float16_4, slice::is_ignored_float16_4, slice::get_examples_float16_4()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_4, slice::CreateModel_float16_4) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_4) { execute(slice::CreateModel_dynamic_output_shape_4, slice::is_ignored_dynamic_output_shape_4, slice::get_examples_dynamic_output_shape_4()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_4) { execute(slice::CreateModel_dynamic_output_shape_relaxed_4, slice::is_ignored_dynamic_output_shape_relaxed_4, slice::get_examples_dynamic_output_shape_relaxed_4()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_4) { execute(slice::CreateModel_dynamic_output_shape_float16_4, slice::is_ignored_dynamic_output_shape_float16_4, slice::get_examples_dynamic_output_shape_float16_4()); } TEST_F(GeneratedTests, slice_5) { execute(slice::CreateModel_5, slice::is_ignored_5, slice::get_examples_5()); } TEST_AVAILABLE_SINCE(V1_2, slice_5, slice::CreateModel_5) TEST_F(GeneratedTests, slice_relaxed_5) { execute(slice::CreateModel_relaxed_5, slice::is_ignored_relaxed_5, slice::get_examples_relaxed_5()); } TEST_F(GeneratedTests, slice_float16_5) { execute(slice::CreateModel_float16_5, slice::is_ignored_float16_5, slice::get_examples_float16_5()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_5, slice::CreateModel_float16_5) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_5) { execute(slice::CreateModel_dynamic_output_shape_5, slice::is_ignored_dynamic_output_shape_5, slice::get_examples_dynamic_output_shape_5()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_5) { execute(slice::CreateModel_dynamic_output_shape_relaxed_5, slice::is_ignored_dynamic_output_shape_relaxed_5, slice::get_examples_dynamic_output_shape_relaxed_5()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_5) { execute(slice::CreateModel_dynamic_output_shape_float16_5, slice::is_ignored_dynamic_output_shape_float16_5, slice::get_examples_dynamic_output_shape_float16_5()); } TEST_F(GeneratedTests, slice_6) { execute(slice::CreateModel_6, slice::is_ignored_6, slice::get_examples_6()); } TEST_AVAILABLE_SINCE(V1_2, slice_6, slice::CreateModel_6) TEST_F(GeneratedTests, slice_relaxed_6) { execute(slice::CreateModel_relaxed_6, slice::is_ignored_relaxed_6, slice::get_examples_relaxed_6()); } TEST_F(GeneratedTests, slice_float16_6) { execute(slice::CreateModel_float16_6, slice::is_ignored_float16_6, slice::get_examples_float16_6()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_6, slice::CreateModel_float16_6) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_6) { execute(slice::CreateModel_dynamic_output_shape_6, slice::is_ignored_dynamic_output_shape_6, slice::get_examples_dynamic_output_shape_6()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_6) { execute(slice::CreateModel_dynamic_output_shape_relaxed_6, slice::is_ignored_dynamic_output_shape_relaxed_6, slice::get_examples_dynamic_output_shape_relaxed_6()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_6) { execute(slice::CreateModel_dynamic_output_shape_float16_6, slice::is_ignored_dynamic_output_shape_float16_6, slice::get_examples_dynamic_output_shape_float16_6()); } TEST_F(GeneratedTests, slice_7) { execute(slice::CreateModel_7, slice::is_ignored_7, slice::get_examples_7()); } TEST_AVAILABLE_SINCE(V1_2, slice_7, slice::CreateModel_7) TEST_F(GeneratedTests, slice_relaxed_7) { execute(slice::CreateModel_relaxed_7, slice::is_ignored_relaxed_7, slice::get_examples_relaxed_7()); } TEST_F(GeneratedTests, slice_float16_7) { execute(slice::CreateModel_float16_7, slice::is_ignored_float16_7, slice::get_examples_float16_7()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_7, slice::CreateModel_float16_7) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_7) { execute(slice::CreateModel_dynamic_output_shape_7, slice::is_ignored_dynamic_output_shape_7, slice::get_examples_dynamic_output_shape_7()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_7) { execute(slice::CreateModel_dynamic_output_shape_relaxed_7, slice::is_ignored_dynamic_output_shape_relaxed_7, slice::get_examples_dynamic_output_shape_relaxed_7()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_7) { execute(slice::CreateModel_dynamic_output_shape_float16_7, slice::is_ignored_dynamic_output_shape_float16_7, slice::get_examples_dynamic_output_shape_float16_7()); } TEST_F(GeneratedTests, slice_8) { execute(slice::CreateModel_8, slice::is_ignored_8, slice::get_examples_8()); } TEST_AVAILABLE_SINCE(V1_2, slice_8, slice::CreateModel_8) TEST_F(GeneratedTests, slice_relaxed_8) { execute(slice::CreateModel_relaxed_8, slice::is_ignored_relaxed_8, slice::get_examples_relaxed_8()); } TEST_F(GeneratedTests, slice_float16_8) { execute(slice::CreateModel_float16_8, slice::is_ignored_float16_8, slice::get_examples_float16_8()); } TEST_AVAILABLE_SINCE(V1_2, slice_float16_8, slice::CreateModel_float16_8) TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_8) { execute(slice::CreateModel_dynamic_output_shape_8, slice::is_ignored_dynamic_output_shape_8, slice::get_examples_dynamic_output_shape_8()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_relaxed_8) { execute(slice::CreateModel_dynamic_output_shape_relaxed_8, slice::is_ignored_dynamic_output_shape_relaxed_8, slice::get_examples_dynamic_output_shape_relaxed_8()); } TEST_F(DynamicOutputShapeTest, slice_dynamic_output_shape_float16_8) { execute(slice::CreateModel_dynamic_output_shape_float16_8, slice::is_ignored_dynamic_output_shape_float16_8, slice::get_examples_dynamic_output_shape_float16_8()); } TEST_F(GeneratedTests, slice_zero_sized) { execute(slice::CreateModel_zero_sized, slice::is_ignored_zero_sized, slice::get_examples_zero_sized()); } TEST_AVAILABLE_SINCE(V1_2, slice_zero_sized, slice::CreateModel_zero_sized) TEST_F(GeneratedTests, slice_zero_sized_relaxed) { execute(slice::CreateModel_zero_sized_relaxed, slice::is_ignored_zero_sized_relaxed, slice::get_examples_zero_sized_relaxed()); } TEST_F(GeneratedTests, slice_zero_sized_quant8) { execute(slice::CreateModel_zero_sized_quant8, slice::is_ignored_zero_sized_quant8, slice::get_examples_zero_sized_quant8()); } TEST_AVAILABLE_SINCE(V1_2, slice_zero_sized_quant8, slice::CreateModel_zero_sized_quant8) TEST_F(GeneratedTests, slice_zero_sized_float16) { execute(slice::CreateModel_zero_sized_float16, slice::is_ignored_zero_sized_float16, slice::get_examples_zero_sized_float16()); } TEST_AVAILABLE_SINCE(V1_2, slice_zero_sized_float16, slice::CreateModel_zero_sized_float16) TEST_F(DynamicOutputShapeTest, slice_zero_sized_dynamic_output_shape) { execute(slice::CreateModel_zero_sized_dynamic_output_shape, slice::is_ignored_zero_sized_dynamic_output_shape, slice::get_examples_zero_sized_dynamic_output_shape()); } TEST_F(DynamicOutputShapeTest, slice_zero_sized_dynamic_output_shape_relaxed) { execute(slice::CreateModel_zero_sized_dynamic_output_shape_relaxed, slice::is_ignored_zero_sized_dynamic_output_shape_relaxed, slice::get_examples_zero_sized_dynamic_output_shape_relaxed()); } TEST_F(DynamicOutputShapeTest, slice_zero_sized_dynamic_output_shape_quant8) { execute(slice::CreateModel_zero_sized_dynamic_output_shape_quant8, slice::is_ignored_zero_sized_dynamic_output_shape_quant8, slice::get_examples_zero_sized_dynamic_output_shape_quant8()); } TEST_F(DynamicOutputShapeTest, slice_zero_sized_dynamic_output_shape_float16) { execute(slice::CreateModel_zero_sized_dynamic_output_shape_float16, slice::is_ignored_zero_sized_dynamic_output_shape_float16, slice::get_examples_zero_sized_dynamic_output_shape_float16()); }