1 // clang-format off
2 // Generated file (from: transpose_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace transpose_v1_2 {
6 // Generated transpose_v1_2 test
7 #include "generated/examples/transpose_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/transpose_v1_2.model.cpp"
10 } // namespace transpose_v1_2
11
TEST_F(GeneratedTests,transpose_v1_2)12 TEST_F(GeneratedTests, transpose_v1_2) {
13 execute(transpose_v1_2::CreateModel,
14 transpose_v1_2::is_ignored,
15 transpose_v1_2::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_1,transpose_v1_2,transpose_v1_2::CreateModel)17 TEST_AVAILABLE_SINCE(V1_1, transpose_v1_2, transpose_v1_2::CreateModel)
18
19 TEST_F(GeneratedTests, transpose_v1_2_relaxed) {
20 execute(transpose_v1_2::CreateModel_relaxed,
21 transpose_v1_2::is_ignored_relaxed,
22 transpose_v1_2::get_examples_relaxed());
23 }
24
TEST_F(GeneratedTests,transpose_v1_2_quant8)25 TEST_F(GeneratedTests, transpose_v1_2_quant8) {
26 execute(transpose_v1_2::CreateModel_quant8,
27 transpose_v1_2::is_ignored_quant8,
28 transpose_v1_2::get_examples_quant8());
29 }
TEST_AVAILABLE_SINCE(V1_1,transpose_v1_2_quant8,transpose_v1_2::CreateModel_quant8)30 TEST_AVAILABLE_SINCE(V1_1, transpose_v1_2_quant8, transpose_v1_2::CreateModel_quant8)
31
32 TEST_F(DynamicOutputShapeTest, transpose_v1_2_dynamic_output_shape) {
33 execute(transpose_v1_2::CreateModel_dynamic_output_shape,
34 transpose_v1_2::is_ignored_dynamic_output_shape,
35 transpose_v1_2::get_examples_dynamic_output_shape());
36 }
37
TEST_F(DynamicOutputShapeTest,transpose_v1_2_dynamic_output_shape_relaxed)38 TEST_F(DynamicOutputShapeTest, transpose_v1_2_dynamic_output_shape_relaxed) {
39 execute(transpose_v1_2::CreateModel_dynamic_output_shape_relaxed,
40 transpose_v1_2::is_ignored_dynamic_output_shape_relaxed,
41 transpose_v1_2::get_examples_dynamic_output_shape_relaxed());
42 }
43
TEST_F(DynamicOutputShapeTest,transpose_v1_2_dynamic_output_shape_quant8)44 TEST_F(DynamicOutputShapeTest, transpose_v1_2_dynamic_output_shape_quant8) {
45 execute(transpose_v1_2::CreateModel_dynamic_output_shape_quant8,
46 transpose_v1_2::is_ignored_dynamic_output_shape_quant8,
47 transpose_v1_2::get_examples_dynamic_output_shape_quant8());
48 }
49
TEST_F(GeneratedTests,transpose_v1_2_zero_sized)50 TEST_F(GeneratedTests, transpose_v1_2_zero_sized) {
51 execute(transpose_v1_2::CreateModel_zero_sized,
52 transpose_v1_2::is_ignored_zero_sized,
53 transpose_v1_2::get_examples_zero_sized());
54 }
TEST_AVAILABLE_SINCE(V1_2,transpose_v1_2_zero_sized,transpose_v1_2::CreateModel_zero_sized)55 TEST_AVAILABLE_SINCE(V1_2, transpose_v1_2_zero_sized, transpose_v1_2::CreateModel_zero_sized)
56
57 TEST_F(GeneratedTests, transpose_v1_2_zero_sized_relaxed) {
58 execute(transpose_v1_2::CreateModel_zero_sized_relaxed,
59 transpose_v1_2::is_ignored_zero_sized_relaxed,
60 transpose_v1_2::get_examples_zero_sized_relaxed());
61 }
62
TEST_F(GeneratedTests,transpose_v1_2_zero_sized_quant8)63 TEST_F(GeneratedTests, transpose_v1_2_zero_sized_quant8) {
64 execute(transpose_v1_2::CreateModel_zero_sized_quant8,
65 transpose_v1_2::is_ignored_zero_sized_quant8,
66 transpose_v1_2::get_examples_zero_sized_quant8());
67 }
TEST_AVAILABLE_SINCE(V1_2,transpose_v1_2_zero_sized_quant8,transpose_v1_2::CreateModel_zero_sized_quant8)68 TEST_AVAILABLE_SINCE(V1_2, transpose_v1_2_zero_sized_quant8, transpose_v1_2::CreateModel_zero_sized_quant8)
69
70 TEST_F(GeneratedTests, transpose_v1_2_zero_sized_float16) {
71 execute(transpose_v1_2::CreateModel_zero_sized_float16,
72 transpose_v1_2::is_ignored_zero_sized_float16,
73 transpose_v1_2::get_examples_zero_sized_float16());
74 }
TEST_AVAILABLE_SINCE(V1_2,transpose_v1_2_zero_sized_float16,transpose_v1_2::CreateModel_zero_sized_float16)75 TEST_AVAILABLE_SINCE(V1_2, transpose_v1_2_zero_sized_float16, transpose_v1_2::CreateModel_zero_sized_float16)
76
77 TEST_F(DynamicOutputShapeTest, transpose_v1_2_zero_sized_dynamic_output_shape) {
78 execute(transpose_v1_2::CreateModel_zero_sized_dynamic_output_shape,
79 transpose_v1_2::is_ignored_zero_sized_dynamic_output_shape,
80 transpose_v1_2::get_examples_zero_sized_dynamic_output_shape());
81 }
82
TEST_F(DynamicOutputShapeTest,transpose_v1_2_zero_sized_dynamic_output_shape_relaxed)83 TEST_F(DynamicOutputShapeTest, transpose_v1_2_zero_sized_dynamic_output_shape_relaxed) {
84 execute(transpose_v1_2::CreateModel_zero_sized_dynamic_output_shape_relaxed,
85 transpose_v1_2::is_ignored_zero_sized_dynamic_output_shape_relaxed,
86 transpose_v1_2::get_examples_zero_sized_dynamic_output_shape_relaxed());
87 }
88
TEST_F(DynamicOutputShapeTest,transpose_v1_2_zero_sized_dynamic_output_shape_quant8)89 TEST_F(DynamicOutputShapeTest, transpose_v1_2_zero_sized_dynamic_output_shape_quant8) {
90 execute(transpose_v1_2::CreateModel_zero_sized_dynamic_output_shape_quant8,
91 transpose_v1_2::is_ignored_zero_sized_dynamic_output_shape_quant8,
92 transpose_v1_2::get_examples_zero_sized_dynamic_output_shape_quant8());
93 }
94
TEST_F(DynamicOutputShapeTest,transpose_v1_2_zero_sized_dynamic_output_shape_float16)95 TEST_F(DynamicOutputShapeTest, transpose_v1_2_zero_sized_dynamic_output_shape_float16) {
96 execute(transpose_v1_2::CreateModel_zero_sized_dynamic_output_shape_float16,
97 transpose_v1_2::is_ignored_zero_sized_dynamic_output_shape_float16,
98 transpose_v1_2::get_examples_zero_sized_dynamic_output_shape_float16());
99 }
100
101