• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // clang-format off
2 // Generated file (from: pow.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace pow {
6 // Generated pow test
7 #include "generated/examples/pow.example.cpp"
8 // Generated model constructor
9 #include "generated/models/pow.model.cpp"
10 } // namespace pow
11 
TEST_F(GeneratedTests,pow)12 TEST_F(GeneratedTests, pow) {
13     execute(pow::CreateModel,
14             pow::is_ignored,
15             pow::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,pow,pow::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, pow, pow::CreateModel)
18 
19 TEST_F(GeneratedTests, pow_relaxed) {
20     execute(pow::CreateModel_relaxed,
21             pow::is_ignored_relaxed,
22             pow::get_examples_relaxed());
23 }
24 
TEST_F(GeneratedTests,pow_float16)25 TEST_F(GeneratedTests, pow_float16) {
26     execute(pow::CreateModel_float16,
27             pow::is_ignored_float16,
28             pow::get_examples_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,pow_float16,pow::CreateModel_float16)30 TEST_AVAILABLE_SINCE(V1_2, pow_float16, pow::CreateModel_float16)
31 
32 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape) {
33     execute(pow::CreateModel_dynamic_output_shape,
34             pow::is_ignored_dynamic_output_shape,
35             pow::get_examples_dynamic_output_shape());
36 }
37 
TEST_F(DynamicOutputShapeTest,pow_dynamic_output_shape_relaxed)38 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_relaxed) {
39     execute(pow::CreateModel_dynamic_output_shape_relaxed,
40             pow::is_ignored_dynamic_output_shape_relaxed,
41             pow::get_examples_dynamic_output_shape_relaxed());
42 }
43 
TEST_F(DynamicOutputShapeTest,pow_dynamic_output_shape_float16)44 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_float16) {
45     execute(pow::CreateModel_dynamic_output_shape_float16,
46             pow::is_ignored_dynamic_output_shape_float16,
47             pow::get_examples_dynamic_output_shape_float16());
48 }
49 
TEST_F(GeneratedTests,pow_2)50 TEST_F(GeneratedTests, pow_2) {
51     execute(pow::CreateModel_2,
52             pow::is_ignored_2,
53             pow::get_examples_2());
54 }
TEST_AVAILABLE_SINCE(V1_2,pow_2,pow::CreateModel_2)55 TEST_AVAILABLE_SINCE(V1_2, pow_2, pow::CreateModel_2)
56 
57 TEST_F(GeneratedTests, pow_relaxed_2) {
58     execute(pow::CreateModel_relaxed_2,
59             pow::is_ignored_relaxed_2,
60             pow::get_examples_relaxed_2());
61 }
62 
TEST_F(GeneratedTests,pow_float16_2)63 TEST_F(GeneratedTests, pow_float16_2) {
64     execute(pow::CreateModel_float16_2,
65             pow::is_ignored_float16_2,
66             pow::get_examples_float16_2());
67 }
TEST_AVAILABLE_SINCE(V1_2,pow_float16_2,pow::CreateModel_float16_2)68 TEST_AVAILABLE_SINCE(V1_2, pow_float16_2, pow::CreateModel_float16_2)
69 
70 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_2) {
71     execute(pow::CreateModel_dynamic_output_shape_2,
72             pow::is_ignored_dynamic_output_shape_2,
73             pow::get_examples_dynamic_output_shape_2());
74 }
75 
TEST_F(DynamicOutputShapeTest,pow_dynamic_output_shape_relaxed_2)76 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_relaxed_2) {
77     execute(pow::CreateModel_dynamic_output_shape_relaxed_2,
78             pow::is_ignored_dynamic_output_shape_relaxed_2,
79             pow::get_examples_dynamic_output_shape_relaxed_2());
80 }
81 
TEST_F(DynamicOutputShapeTest,pow_dynamic_output_shape_float16_2)82 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_float16_2) {
83     execute(pow::CreateModel_dynamic_output_shape_float16_2,
84             pow::is_ignored_dynamic_output_shape_float16_2,
85             pow::get_examples_dynamic_output_shape_float16_2());
86 }
87 
TEST_F(GeneratedTests,pow_3)88 TEST_F(GeneratedTests, pow_3) {
89     execute(pow::CreateModel_3,
90             pow::is_ignored_3,
91             pow::get_examples_3());
92 }
TEST_AVAILABLE_SINCE(V1_2,pow_3,pow::CreateModel_3)93 TEST_AVAILABLE_SINCE(V1_2, pow_3, pow::CreateModel_3)
94 
95 TEST_F(GeneratedTests, pow_relaxed_3) {
96     execute(pow::CreateModel_relaxed_3,
97             pow::is_ignored_relaxed_3,
98             pow::get_examples_relaxed_3());
99 }
100 
TEST_F(GeneratedTests,pow_float16_3)101 TEST_F(GeneratedTests, pow_float16_3) {
102     execute(pow::CreateModel_float16_3,
103             pow::is_ignored_float16_3,
104             pow::get_examples_float16_3());
105 }
TEST_AVAILABLE_SINCE(V1_2,pow_float16_3,pow::CreateModel_float16_3)106 TEST_AVAILABLE_SINCE(V1_2, pow_float16_3, pow::CreateModel_float16_3)
107 
108 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_3) {
109     execute(pow::CreateModel_dynamic_output_shape_3,
110             pow::is_ignored_dynamic_output_shape_3,
111             pow::get_examples_dynamic_output_shape_3());
112 }
113 
TEST_F(DynamicOutputShapeTest,pow_dynamic_output_shape_relaxed_3)114 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_relaxed_3) {
115     execute(pow::CreateModel_dynamic_output_shape_relaxed_3,
116             pow::is_ignored_dynamic_output_shape_relaxed_3,
117             pow::get_examples_dynamic_output_shape_relaxed_3());
118 }
119 
TEST_F(DynamicOutputShapeTest,pow_dynamic_output_shape_float16_3)120 TEST_F(DynamicOutputShapeTest, pow_dynamic_output_shape_float16_3) {
121     execute(pow::CreateModel_dynamic_output_shape_float16_3,
122             pow::is_ignored_dynamic_output_shape_float16_3,
123             pow::get_examples_dynamic_output_shape_float16_3());
124 }
125 
126