1 // clang-format off
2 // Generated file (from: sub_v1_2_broadcast.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace sub_v1_2_broadcast {
6 // Generated sub_v1_2_broadcast test
7 #include "generated/examples/sub_v1_2_broadcast.example.cpp"
8 // Generated model constructor
9 #include "generated/models/sub_v1_2_broadcast.model.cpp"
10 } // namespace sub_v1_2_broadcast
11
TEST_F(GeneratedTests,sub_v1_2_broadcast_none)12 TEST_F(GeneratedTests, sub_v1_2_broadcast_none) {
13 execute(sub_v1_2_broadcast::CreateModel_none,
14 sub_v1_2_broadcast::is_ignored_none,
15 sub_v1_2_broadcast::get_examples_none());
16 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_broadcast_none,sub_v1_2_broadcast::CreateModel_none)17 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_none, sub_v1_2_broadcast::CreateModel_none)
18
19 TEST_F(GeneratedTests, sub_v1_2_broadcast_relu) {
20 execute(sub_v1_2_broadcast::CreateModel_relu,
21 sub_v1_2_broadcast::is_ignored_relu,
22 sub_v1_2_broadcast::get_examples_relu());
23 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_broadcast_relu,sub_v1_2_broadcast::CreateModel_relu)24 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_relu, sub_v1_2_broadcast::CreateModel_relu)
25
26 TEST_F(GeneratedTests, sub_v1_2_broadcast_relu1) {
27 execute(sub_v1_2_broadcast::CreateModel_relu1,
28 sub_v1_2_broadcast::is_ignored_relu1,
29 sub_v1_2_broadcast::get_examples_relu1());
30 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_broadcast_relu1,sub_v1_2_broadcast::CreateModel_relu1)31 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_relu1, sub_v1_2_broadcast::CreateModel_relu1)
32
33 TEST_F(GeneratedTests, sub_v1_2_broadcast_relu6) {
34 execute(sub_v1_2_broadcast::CreateModel_relu6,
35 sub_v1_2_broadcast::is_ignored_relu6,
36 sub_v1_2_broadcast::get_examples_relu6());
37 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_broadcast_relu6,sub_v1_2_broadcast::CreateModel_relu6)38 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_relu6, sub_v1_2_broadcast::CreateModel_relu6)
39
40 TEST_F(GeneratedTests, sub_v1_2_broadcast_float16_none) {
41 execute(sub_v1_2_broadcast::CreateModel_float16_none,
42 sub_v1_2_broadcast::is_ignored_float16_none,
43 sub_v1_2_broadcast::get_examples_float16_none());
44 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_broadcast_float16_none,sub_v1_2_broadcast::CreateModel_float16_none)45 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_broadcast_float16_none, sub_v1_2_broadcast::CreateModel_float16_none)
46
47 TEST_F(GeneratedTests, sub_v1_2_broadcast_float16_relu) {
48 execute(sub_v1_2_broadcast::CreateModel_float16_relu,
49 sub_v1_2_broadcast::is_ignored_float16_relu,
50 sub_v1_2_broadcast::get_examples_float16_relu());
51 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_broadcast_float16_relu,sub_v1_2_broadcast::CreateModel_float16_relu)52 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_broadcast_float16_relu, sub_v1_2_broadcast::CreateModel_float16_relu)
53
54 TEST_F(GeneratedTests, sub_v1_2_broadcast_float16_relu1) {
55 execute(sub_v1_2_broadcast::CreateModel_float16_relu1,
56 sub_v1_2_broadcast::is_ignored_float16_relu1,
57 sub_v1_2_broadcast::get_examples_float16_relu1());
58 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_broadcast_float16_relu1,sub_v1_2_broadcast::CreateModel_float16_relu1)59 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_broadcast_float16_relu1, sub_v1_2_broadcast::CreateModel_float16_relu1)
60
61 TEST_F(GeneratedTests, sub_v1_2_broadcast_float16_relu6) {
62 execute(sub_v1_2_broadcast::CreateModel_float16_relu6,
63 sub_v1_2_broadcast::is_ignored_float16_relu6,
64 sub_v1_2_broadcast::get_examples_float16_relu6());
65 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_broadcast_float16_relu6,sub_v1_2_broadcast::CreateModel_float16_relu6)66 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_broadcast_float16_relu6, sub_v1_2_broadcast::CreateModel_float16_relu6)
67
68 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_none) {
69 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_none,
70 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_none,
71 sub_v1_2_broadcast::get_examples_dynamic_output_shape_none());
72 }
73
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_relu)74 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_relu) {
75 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_relu,
76 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_relu,
77 sub_v1_2_broadcast::get_examples_dynamic_output_shape_relu());
78 }
79
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_relu1)80 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_relu1) {
81 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_relu1,
82 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_relu1,
83 sub_v1_2_broadcast::get_examples_dynamic_output_shape_relu1());
84 }
85
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_relu6)86 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_relu6) {
87 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_relu6,
88 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_relu6,
89 sub_v1_2_broadcast::get_examples_dynamic_output_shape_relu6());
90 }
91
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_float16_none)92 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_float16_none) {
93 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_float16_none,
94 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_float16_none,
95 sub_v1_2_broadcast::get_examples_dynamic_output_shape_float16_none());
96 }
97
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_float16_relu)98 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_float16_relu) {
99 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_float16_relu,
100 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_float16_relu,
101 sub_v1_2_broadcast::get_examples_dynamic_output_shape_float16_relu());
102 }
103
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_float16_relu1)104 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_float16_relu1) {
105 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_float16_relu1,
106 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_float16_relu1,
107 sub_v1_2_broadcast::get_examples_dynamic_output_shape_float16_relu1());
108 }
109
TEST_F(DynamicOutputShapeTest,sub_v1_2_broadcast_dynamic_output_shape_float16_relu6)110 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_dynamic_output_shape_float16_relu6) {
111 execute(sub_v1_2_broadcast::CreateModel_dynamic_output_shape_float16_relu6,
112 sub_v1_2_broadcast::is_ignored_dynamic_output_shape_float16_relu6,
113 sub_v1_2_broadcast::get_examples_dynamic_output_shape_float16_relu6());
114 }
115
TEST_F(GeneratedTests,sub_v1_2_broadcast_quant8)116 TEST_F(GeneratedTests, sub_v1_2_broadcast_quant8) {
117 execute(sub_v1_2_broadcast::CreateModel_quant8,
118 sub_v1_2_broadcast::is_ignored_quant8,
119 sub_v1_2_broadcast::get_examples_quant8());
120 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_broadcast_quant8,sub_v1_2_broadcast::CreateModel_quant8)121 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_broadcast_quant8, sub_v1_2_broadcast::CreateModel_quant8)
122
123 TEST_F(DynamicOutputShapeTest, sub_v1_2_broadcast_quant8_dynamic_output_shape) {
124 execute(sub_v1_2_broadcast::CreateModel_quant8_dynamic_output_shape,
125 sub_v1_2_broadcast::is_ignored_quant8_dynamic_output_shape,
126 sub_v1_2_broadcast::get_examples_quant8_dynamic_output_shape());
127 }
128
129