1 // clang-format off
2 // Generated file (from: depthwise_conv2d_per_channel.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace depthwise_conv2d_per_channel {
6 // Generated depthwise_conv2d_per_channel test
7 #include "generated/examples/depthwise_conv2d_per_channel.example.cpp"
8 // Generated model constructor
9 #include "generated/models/depthwise_conv2d_per_channel.model.cpp"
10 } // namespace depthwise_conv2d_per_channel
11
TEST_F(GeneratedTests,depthwise_conv2d_per_channel_same)12 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_same) {
13 execute(depthwise_conv2d_per_channel::CreateModel_same,
14 depthwise_conv2d_per_channel::is_ignored_same,
15 depthwise_conv2d_per_channel::get_examples_same());
16 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_same,depthwise_conv2d_per_channel::CreateModel_same)17 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_same, depthwise_conv2d_per_channel::CreateModel_same)
18
19 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_same_weight_as_input) {
20 execute(depthwise_conv2d_per_channel::CreateModel_same_weight_as_input,
21 depthwise_conv2d_per_channel::is_ignored_same_weight_as_input,
22 depthwise_conv2d_per_channel::get_examples_same_weight_as_input());
23 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_same_weight_as_input,depthwise_conv2d_per_channel::CreateModel_same_weight_as_input)24 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_same_weight_as_input, depthwise_conv2d_per_channel::CreateModel_same_weight_as_input)
25
26 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_same_dynamic_output_shape) {
27 execute(depthwise_conv2d_per_channel::CreateModel_same_dynamic_output_shape,
28 depthwise_conv2d_per_channel::is_ignored_same_dynamic_output_shape,
29 depthwise_conv2d_per_channel::get_examples_same_dynamic_output_shape());
30 }
31
TEST_F(DynamicOutputShapeTest,depthwise_conv2d_per_channel_same_dynamic_output_shape_weight_as_input)32 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_same_dynamic_output_shape_weight_as_input) {
33 execute(depthwise_conv2d_per_channel::CreateModel_same_dynamic_output_shape_weight_as_input,
34 depthwise_conv2d_per_channel::is_ignored_same_dynamic_output_shape_weight_as_input,
35 depthwise_conv2d_per_channel::get_examples_same_dynamic_output_shape_weight_as_input());
36 }
37
TEST_F(GeneratedTests,depthwise_conv2d_per_channel_different)38 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_different) {
39 execute(depthwise_conv2d_per_channel::CreateModel_different,
40 depthwise_conv2d_per_channel::is_ignored_different,
41 depthwise_conv2d_per_channel::get_examples_different());
42 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_different,depthwise_conv2d_per_channel::CreateModel_different)43 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_different, depthwise_conv2d_per_channel::CreateModel_different)
44
45 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_different_weight_as_input) {
46 execute(depthwise_conv2d_per_channel::CreateModel_different_weight_as_input,
47 depthwise_conv2d_per_channel::is_ignored_different_weight_as_input,
48 depthwise_conv2d_per_channel::get_examples_different_weight_as_input());
49 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_different_weight_as_input,depthwise_conv2d_per_channel::CreateModel_different_weight_as_input)50 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_different_weight_as_input, depthwise_conv2d_per_channel::CreateModel_different_weight_as_input)
51
52 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_different_dynamic_output_shape) {
53 execute(depthwise_conv2d_per_channel::CreateModel_different_dynamic_output_shape,
54 depthwise_conv2d_per_channel::is_ignored_different_dynamic_output_shape,
55 depthwise_conv2d_per_channel::get_examples_different_dynamic_output_shape());
56 }
57
TEST_F(DynamicOutputShapeTest,depthwise_conv2d_per_channel_different_dynamic_output_shape_weight_as_input)58 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_different_dynamic_output_shape_weight_as_input) {
59 execute(depthwise_conv2d_per_channel::CreateModel_different_dynamic_output_shape_weight_as_input,
60 depthwise_conv2d_per_channel::is_ignored_different_dynamic_output_shape_weight_as_input,
61 depthwise_conv2d_per_channel::get_examples_different_dynamic_output_shape_weight_as_input());
62 }
63
TEST_F(GeneratedTests,depthwise_conv2d_per_channel_layout_nhwc)64 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_layout_nhwc) {
65 execute(depthwise_conv2d_per_channel::CreateModel_layout_nhwc,
66 depthwise_conv2d_per_channel::is_ignored_layout_nhwc,
67 depthwise_conv2d_per_channel::get_examples_layout_nhwc());
68 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_layout_nhwc,depthwise_conv2d_per_channel::CreateModel_layout_nhwc)69 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_layout_nhwc, depthwise_conv2d_per_channel::CreateModel_layout_nhwc)
70
71 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_layout_nhwc_weight_as_input) {
72 execute(depthwise_conv2d_per_channel::CreateModel_layout_nhwc_weight_as_input,
73 depthwise_conv2d_per_channel::is_ignored_layout_nhwc_weight_as_input,
74 depthwise_conv2d_per_channel::get_examples_layout_nhwc_weight_as_input());
75 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_layout_nhwc_weight_as_input,depthwise_conv2d_per_channel::CreateModel_layout_nhwc_weight_as_input)76 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_layout_nhwc_weight_as_input, depthwise_conv2d_per_channel::CreateModel_layout_nhwc_weight_as_input)
77
78 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_layout_nchw) {
79 execute(depthwise_conv2d_per_channel::CreateModel_layout_nchw,
80 depthwise_conv2d_per_channel::is_ignored_layout_nchw,
81 depthwise_conv2d_per_channel::get_examples_layout_nchw());
82 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_layout_nchw,depthwise_conv2d_per_channel::CreateModel_layout_nchw)83 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_layout_nchw, depthwise_conv2d_per_channel::CreateModel_layout_nchw)
84
85 TEST_F(GeneratedTests, depthwise_conv2d_per_channel_layout_nchw_weight_as_input) {
86 execute(depthwise_conv2d_per_channel::CreateModel_layout_nchw_weight_as_input,
87 depthwise_conv2d_per_channel::is_ignored_layout_nchw_weight_as_input,
88 depthwise_conv2d_per_channel::get_examples_layout_nchw_weight_as_input());
89 }
TEST_AVAILABLE_SINCE(V1_2,depthwise_conv2d_per_channel_layout_nchw_weight_as_input,depthwise_conv2d_per_channel::CreateModel_layout_nchw_weight_as_input)90 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_per_channel_layout_nchw_weight_as_input, depthwise_conv2d_per_channel::CreateModel_layout_nchw_weight_as_input)
91
92 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_layout_dynamic_output_shape_nhwc) {
93 execute(depthwise_conv2d_per_channel::CreateModel_layout_dynamic_output_shape_nhwc,
94 depthwise_conv2d_per_channel::is_ignored_layout_dynamic_output_shape_nhwc,
95 depthwise_conv2d_per_channel::get_examples_layout_dynamic_output_shape_nhwc());
96 }
97
TEST_F(DynamicOutputShapeTest,depthwise_conv2d_per_channel_layout_dynamic_output_shape_nhwc_weight_as_input)98 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_layout_dynamic_output_shape_nhwc_weight_as_input) {
99 execute(depthwise_conv2d_per_channel::CreateModel_layout_dynamic_output_shape_nhwc_weight_as_input,
100 depthwise_conv2d_per_channel::is_ignored_layout_dynamic_output_shape_nhwc_weight_as_input,
101 depthwise_conv2d_per_channel::get_examples_layout_dynamic_output_shape_nhwc_weight_as_input());
102 }
103
TEST_F(DynamicOutputShapeTest,depthwise_conv2d_per_channel_layout_dynamic_output_shape_nchw)104 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_layout_dynamic_output_shape_nchw) {
105 execute(depthwise_conv2d_per_channel::CreateModel_layout_dynamic_output_shape_nchw,
106 depthwise_conv2d_per_channel::is_ignored_layout_dynamic_output_shape_nchw,
107 depthwise_conv2d_per_channel::get_examples_layout_dynamic_output_shape_nchw());
108 }
109
TEST_F(DynamicOutputShapeTest,depthwise_conv2d_per_channel_layout_dynamic_output_shape_nchw_weight_as_input)110 TEST_F(DynamicOutputShapeTest, depthwise_conv2d_per_channel_layout_dynamic_output_shape_nchw_weight_as_input) {
111 execute(depthwise_conv2d_per_channel::CreateModel_layout_dynamic_output_shape_nchw_weight_as_input,
112 depthwise_conv2d_per_channel::is_ignored_layout_dynamic_output_shape_nchw_weight_as_input,
113 depthwise_conv2d_per_channel::get_examples_layout_dynamic_output_shape_nchw_weight_as_input());
114 }
115
116