• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // clang-format off
2 // Generated file (from: logistic_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace logistic_v1_2 {
6 // Generated logistic_v1_2 test
7 #include "generated/examples/logistic_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/logistic_v1_2.model.cpp"
10 } // namespace logistic_v1_2
11 
TEST_F(GeneratedTests,logistic_v1_2)12 TEST_F(GeneratedTests, logistic_v1_2) {
13     execute(logistic_v1_2::CreateModel,
14             logistic_v1_2::is_ignored,
15             logistic_v1_2::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,logistic_v1_2,logistic_v1_2::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, logistic_v1_2, logistic_v1_2::CreateModel)
18 
19 TEST_F(DynamicOutputShapeTest, logistic_v1_2_dynamic_output_shape) {
20     execute(logistic_v1_2::CreateModel_dynamic_output_shape,
21             logistic_v1_2::is_ignored_dynamic_output_shape,
22             logistic_v1_2::get_examples_dynamic_output_shape());
23 }
24 
TEST_F(GeneratedTests,logistic_v1_2_2)25 TEST_F(GeneratedTests, logistic_v1_2_2) {
26     execute(logistic_v1_2::CreateModel_2,
27             logistic_v1_2::is_ignored_2,
28             logistic_v1_2::get_examples_2());
29 }
TEST_AVAILABLE_SINCE(V1_2,logistic_v1_2_2,logistic_v1_2::CreateModel_2)30 TEST_AVAILABLE_SINCE(V1_2, logistic_v1_2_2, logistic_v1_2::CreateModel_2)
31 
32 TEST_F(DynamicOutputShapeTest, logistic_v1_2_dynamic_output_shape_2) {
33     execute(logistic_v1_2::CreateModel_dynamic_output_shape_2,
34             logistic_v1_2::is_ignored_dynamic_output_shape_2,
35             logistic_v1_2::get_examples_dynamic_output_shape_2());
36 }
37 
TEST_F(GeneratedTests,logistic_v1_2_zero_sized)38 TEST_F(GeneratedTests, logistic_v1_2_zero_sized) {
39     execute(logistic_v1_2::CreateModel_zero_sized,
40             logistic_v1_2::is_ignored_zero_sized,
41             logistic_v1_2::get_examples_zero_sized());
42 }
TEST_AVAILABLE_SINCE(V1_2,logistic_v1_2_zero_sized,logistic_v1_2::CreateModel_zero_sized)43 TEST_AVAILABLE_SINCE(V1_2, logistic_v1_2_zero_sized, logistic_v1_2::CreateModel_zero_sized)
44 
45 TEST_F(GeneratedTests, logistic_v1_2_zero_sized_relaxed) {
46     execute(logistic_v1_2::CreateModel_zero_sized_relaxed,
47             logistic_v1_2::is_ignored_zero_sized_relaxed,
48             logistic_v1_2::get_examples_zero_sized_relaxed());
49 }
50 
TEST_F(GeneratedTests,logistic_v1_2_zero_sized_quant8)51 TEST_F(GeneratedTests, logistic_v1_2_zero_sized_quant8) {
52     execute(logistic_v1_2::CreateModel_zero_sized_quant8,
53             logistic_v1_2::is_ignored_zero_sized_quant8,
54             logistic_v1_2::get_examples_zero_sized_quant8());
55 }
TEST_AVAILABLE_SINCE(V1_2,logistic_v1_2_zero_sized_quant8,logistic_v1_2::CreateModel_zero_sized_quant8)56 TEST_AVAILABLE_SINCE(V1_2, logistic_v1_2_zero_sized_quant8, logistic_v1_2::CreateModel_zero_sized_quant8)
57 
58 TEST_F(GeneratedTests, logistic_v1_2_zero_sized_float16) {
59     execute(logistic_v1_2::CreateModel_zero_sized_float16,
60             logistic_v1_2::is_ignored_zero_sized_float16,
61             logistic_v1_2::get_examples_zero_sized_float16());
62 }
TEST_AVAILABLE_SINCE(V1_2,logistic_v1_2_zero_sized_float16,logistic_v1_2::CreateModel_zero_sized_float16)63 TEST_AVAILABLE_SINCE(V1_2, logistic_v1_2_zero_sized_float16, logistic_v1_2::CreateModel_zero_sized_float16)
64 
65 TEST_F(DynamicOutputShapeTest, logistic_v1_2_zero_sized_dynamic_output_shape) {
66     execute(logistic_v1_2::CreateModel_zero_sized_dynamic_output_shape,
67             logistic_v1_2::is_ignored_zero_sized_dynamic_output_shape,
68             logistic_v1_2::get_examples_zero_sized_dynamic_output_shape());
69 }
70 
TEST_F(DynamicOutputShapeTest,logistic_v1_2_zero_sized_dynamic_output_shape_relaxed)71 TEST_F(DynamicOutputShapeTest, logistic_v1_2_zero_sized_dynamic_output_shape_relaxed) {
72     execute(logistic_v1_2::CreateModel_zero_sized_dynamic_output_shape_relaxed,
73             logistic_v1_2::is_ignored_zero_sized_dynamic_output_shape_relaxed,
74             logistic_v1_2::get_examples_zero_sized_dynamic_output_shape_relaxed());
75 }
76 
TEST_F(DynamicOutputShapeTest,logistic_v1_2_zero_sized_dynamic_output_shape_quant8)77 TEST_F(DynamicOutputShapeTest, logistic_v1_2_zero_sized_dynamic_output_shape_quant8) {
78     execute(logistic_v1_2::CreateModel_zero_sized_dynamic_output_shape_quant8,
79             logistic_v1_2::is_ignored_zero_sized_dynamic_output_shape_quant8,
80             logistic_v1_2::get_examples_zero_sized_dynamic_output_shape_quant8());
81 }
82 
TEST_F(DynamicOutputShapeTest,logistic_v1_2_zero_sized_dynamic_output_shape_float16)83 TEST_F(DynamicOutputShapeTest, logistic_v1_2_zero_sized_dynamic_output_shape_float16) {
84     execute(logistic_v1_2::CreateModel_zero_sized_dynamic_output_shape_float16,
85             logistic_v1_2::is_ignored_zero_sized_dynamic_output_shape_float16,
86             logistic_v1_2::get_examples_zero_sized_dynamic_output_shape_float16());
87 }
88 
89