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