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