1 // clang-format off
2 // Generated file (from: neg.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace neg {
6 // Generated neg test
7 #include "generated/examples/neg.example.cpp"
8 // Generated model constructor
9 #include "generated/models/neg.model.cpp"
10 } // namespace neg
11
TEST_F(GeneratedTests,neg)12 TEST_F(GeneratedTests, neg) {
13 execute(neg::CreateModel,
14 neg::is_ignored,
15 neg::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,neg,neg::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, neg, neg::CreateModel)
18
19 TEST_F(GeneratedTests, neg_relaxed) {
20 execute(neg::CreateModel_relaxed,
21 neg::is_ignored_relaxed,
22 neg::get_examples_relaxed());
23 }
24
TEST_F(GeneratedTests,neg_float16)25 TEST_F(GeneratedTests, neg_float16) {
26 execute(neg::CreateModel_float16,
27 neg::is_ignored_float16,
28 neg::get_examples_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,neg_float16,neg::CreateModel_float16)30 TEST_AVAILABLE_SINCE(V1_2, neg_float16, neg::CreateModel_float16)
31
32 TEST_F(GeneratedTests, neg_int32) {
33 execute(neg::CreateModel_int32,
34 neg::is_ignored_int32,
35 neg::get_examples_int32());
36 }
TEST_AVAILABLE_SINCE(V1_2,neg_int32,neg::CreateModel_int32)37 TEST_AVAILABLE_SINCE(V1_2, neg_int32, neg::CreateModel_int32)
38
39 TEST_F(DynamicOutputShapeTest, neg_dynamic_output_shape) {
40 execute(neg::CreateModel_dynamic_output_shape,
41 neg::is_ignored_dynamic_output_shape,
42 neg::get_examples_dynamic_output_shape());
43 }
44
TEST_F(DynamicOutputShapeTest,neg_dynamic_output_shape_relaxed)45 TEST_F(DynamicOutputShapeTest, neg_dynamic_output_shape_relaxed) {
46 execute(neg::CreateModel_dynamic_output_shape_relaxed,
47 neg::is_ignored_dynamic_output_shape_relaxed,
48 neg::get_examples_dynamic_output_shape_relaxed());
49 }
50
TEST_F(DynamicOutputShapeTest,neg_dynamic_output_shape_float16)51 TEST_F(DynamicOutputShapeTest, neg_dynamic_output_shape_float16) {
52 execute(neg::CreateModel_dynamic_output_shape_float16,
53 neg::is_ignored_dynamic_output_shape_float16,
54 neg::get_examples_dynamic_output_shape_float16());
55 }
56
TEST_F(DynamicOutputShapeTest,neg_dynamic_output_shape_int32)57 TEST_F(DynamicOutputShapeTest, neg_dynamic_output_shape_int32) {
58 execute(neg::CreateModel_dynamic_output_shape_int32,
59 neg::is_ignored_dynamic_output_shape_int32,
60 neg::get_examples_dynamic_output_shape_int32());
61 }
62
63