// clang-format off // Generated file (from: topk_v2.mod.py). Do not edit #include "../../TestGenerated.h" namespace topk_v2 { // Generated topk_v2 test #include "generated/examples/topk_v2.example.cpp" // Generated model constructor #include "generated/models/topk_v2.model.cpp" } // namespace topk_v2 TEST_F(GeneratedTests, topk_v2) { execute(topk_v2::CreateModel, topk_v2::is_ignored, topk_v2::get_examples()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2, topk_v2::CreateModel) TEST_F(GeneratedTests, topk_v2_relaxed) { execute(topk_v2::CreateModel_relaxed, topk_v2::is_ignored_relaxed, topk_v2::get_examples_relaxed()); } TEST_F(GeneratedTests, topk_v2_float16) { execute(topk_v2::CreateModel_float16, topk_v2::is_ignored_float16, topk_v2::get_examples_float16()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_float16, topk_v2::CreateModel_float16) TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape) { execute(topk_v2::CreateModel_dynamic_output_shape, topk_v2::is_ignored_dynamic_output_shape, topk_v2::get_examples_dynamic_output_shape()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_relaxed) { execute(topk_v2::CreateModel_dynamic_output_shape_relaxed, topk_v2::is_ignored_dynamic_output_shape_relaxed, topk_v2::get_examples_dynamic_output_shape_relaxed()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_float16) { execute(topk_v2::CreateModel_dynamic_output_shape_float16, topk_v2::is_ignored_dynamic_output_shape_float16, topk_v2::get_examples_dynamic_output_shape_float16()); } TEST_F(GeneratedTests, topk_v2_2) { execute(topk_v2::CreateModel_2, topk_v2::is_ignored_2, topk_v2::get_examples_2()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_2, topk_v2::CreateModel_2) TEST_F(GeneratedTests, topk_v2_relaxed_2) { execute(topk_v2::CreateModel_relaxed_2, topk_v2::is_ignored_relaxed_2, topk_v2::get_examples_relaxed_2()); } TEST_F(GeneratedTests, topk_v2_float16_2) { execute(topk_v2::CreateModel_float16_2, topk_v2::is_ignored_float16_2, topk_v2::get_examples_float16_2()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_float16_2, topk_v2::CreateModel_float16_2) TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_2) { execute(topk_v2::CreateModel_dynamic_output_shape_2, topk_v2::is_ignored_dynamic_output_shape_2, topk_v2::get_examples_dynamic_output_shape_2()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_relaxed_2) { execute(topk_v2::CreateModel_dynamic_output_shape_relaxed_2, topk_v2::is_ignored_dynamic_output_shape_relaxed_2, topk_v2::get_examples_dynamic_output_shape_relaxed_2()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_float16_2) { execute(topk_v2::CreateModel_dynamic_output_shape_float16_2, topk_v2::is_ignored_dynamic_output_shape_float16_2, topk_v2::get_examples_dynamic_output_shape_float16_2()); } TEST_F(GeneratedTests, topk_v2_3) { execute(topk_v2::CreateModel_3, topk_v2::is_ignored_3, topk_v2::get_examples_3()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_3, topk_v2::CreateModel_3) TEST_F(GeneratedTests, topk_v2_relaxed_3) { execute(topk_v2::CreateModel_relaxed_3, topk_v2::is_ignored_relaxed_3, topk_v2::get_examples_relaxed_3()); } TEST_F(GeneratedTests, topk_v2_float16_3) { execute(topk_v2::CreateModel_float16_3, topk_v2::is_ignored_float16_3, topk_v2::get_examples_float16_3()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_float16_3, topk_v2::CreateModel_float16_3) TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_3) { execute(topk_v2::CreateModel_dynamic_output_shape_3, topk_v2::is_ignored_dynamic_output_shape_3, topk_v2::get_examples_dynamic_output_shape_3()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_relaxed_3) { execute(topk_v2::CreateModel_dynamic_output_shape_relaxed_3, topk_v2::is_ignored_dynamic_output_shape_relaxed_3, topk_v2::get_examples_dynamic_output_shape_relaxed_3()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_float16_3) { execute(topk_v2::CreateModel_dynamic_output_shape_float16_3, topk_v2::is_ignored_dynamic_output_shape_float16_3, topk_v2::get_examples_dynamic_output_shape_float16_3()); } TEST_F(GeneratedTests, topk_v2_4) { execute(topk_v2::CreateModel_4, topk_v2::is_ignored_4, topk_v2::get_examples_4()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_4, topk_v2::CreateModel_4) TEST_F(GeneratedTests, topk_v2_relaxed_4) { execute(topk_v2::CreateModel_relaxed_4, topk_v2::is_ignored_relaxed_4, topk_v2::get_examples_relaxed_4()); } TEST_F(GeneratedTests, topk_v2_float16_4) { execute(topk_v2::CreateModel_float16_4, topk_v2::is_ignored_float16_4, topk_v2::get_examples_float16_4()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_float16_4, topk_v2::CreateModel_float16_4) TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_4) { execute(topk_v2::CreateModel_dynamic_output_shape_4, topk_v2::is_ignored_dynamic_output_shape_4, topk_v2::get_examples_dynamic_output_shape_4()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_relaxed_4) { execute(topk_v2::CreateModel_dynamic_output_shape_relaxed_4, topk_v2::is_ignored_dynamic_output_shape_relaxed_4, topk_v2::get_examples_dynamic_output_shape_relaxed_4()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_float16_4) { execute(topk_v2::CreateModel_dynamic_output_shape_float16_4, topk_v2::is_ignored_dynamic_output_shape_float16_4, topk_v2::get_examples_dynamic_output_shape_float16_4()); } TEST_F(GeneratedTests, topk_v2_5) { execute(topk_v2::CreateModel_5, topk_v2::is_ignored_5, topk_v2::get_examples_5()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_5, topk_v2::CreateModel_5) TEST_F(GeneratedTests, topk_v2_relaxed_5) { execute(topk_v2::CreateModel_relaxed_5, topk_v2::is_ignored_relaxed_5, topk_v2::get_examples_relaxed_5()); } TEST_F(GeneratedTests, topk_v2_float16_5) { execute(topk_v2::CreateModel_float16_5, topk_v2::is_ignored_float16_5, topk_v2::get_examples_float16_5()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_float16_5, topk_v2::CreateModel_float16_5) TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_5) { execute(topk_v2::CreateModel_dynamic_output_shape_5, topk_v2::is_ignored_dynamic_output_shape_5, topk_v2::get_examples_dynamic_output_shape_5()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_relaxed_5) { execute(topk_v2::CreateModel_dynamic_output_shape_relaxed_5, topk_v2::is_ignored_dynamic_output_shape_relaxed_5, topk_v2::get_examples_dynamic_output_shape_relaxed_5()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_float16_5) { execute(topk_v2::CreateModel_dynamic_output_shape_float16_5, topk_v2::is_ignored_dynamic_output_shape_float16_5, topk_v2::get_examples_dynamic_output_shape_float16_5()); } TEST_F(GeneratedTests, topk_v2_6) { execute(topk_v2::CreateModel_6, topk_v2::is_ignored_6, topk_v2::get_examples_6()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_6, topk_v2::CreateModel_6) TEST_F(GeneratedTests, topk_v2_relaxed_6) { execute(topk_v2::CreateModel_relaxed_6, topk_v2::is_ignored_relaxed_6, topk_v2::get_examples_relaxed_6()); } TEST_F(GeneratedTests, topk_v2_float16_6) { execute(topk_v2::CreateModel_float16_6, topk_v2::is_ignored_float16_6, topk_v2::get_examples_float16_6()); } TEST_AVAILABLE_SINCE(V1_2, topk_v2_float16_6, topk_v2::CreateModel_float16_6) TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_6) { execute(topk_v2::CreateModel_dynamic_output_shape_6, topk_v2::is_ignored_dynamic_output_shape_6, topk_v2::get_examples_dynamic_output_shape_6()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_relaxed_6) { execute(topk_v2::CreateModel_dynamic_output_shape_relaxed_6, topk_v2::is_ignored_dynamic_output_shape_relaxed_6, topk_v2::get_examples_dynamic_output_shape_relaxed_6()); } TEST_F(DynamicOutputShapeTest, topk_v2_dynamic_output_shape_float16_6) { execute(topk_v2::CreateModel_dynamic_output_shape_float16_6, topk_v2::is_ignored_dynamic_output_shape_float16_6, topk_v2::get_examples_dynamic_output_shape_float16_6()); }