• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // clang-format off
2 // Generated file (from: log.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace log {
6 // Generated log test
7 #include "generated/examples/log.example.cpp"
8 // Generated model constructor
9 #include "generated/models/log.model.cpp"
10 } // namespace log
11 
TEST_F(GeneratedTests,log)12 TEST_F(GeneratedTests, log) {
13     execute(log::CreateModel,
14             log::is_ignored,
15             log::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,log,log::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, log, log::CreateModel)
18 
19 TEST_F(GeneratedTests, log_relaxed) {
20     execute(log::CreateModel_relaxed,
21             log::is_ignored_relaxed,
22             log::get_examples_relaxed());
23 }
24 
TEST_F(GeneratedTests,log_float16)25 TEST_F(GeneratedTests, log_float16) {
26     execute(log::CreateModel_float16,
27             log::is_ignored_float16,
28             log::get_examples_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,log_float16,log::CreateModel_float16)30 TEST_AVAILABLE_SINCE(V1_2, log_float16, log::CreateModel_float16)
31 
32 TEST_F(DynamicOutputShapeTest, log_dynamic_output_shape) {
33     execute(log::CreateModel_dynamic_output_shape,
34             log::is_ignored_dynamic_output_shape,
35             log::get_examples_dynamic_output_shape());
36 }
37 
TEST_F(DynamicOutputShapeTest,log_dynamic_output_shape_relaxed)38 TEST_F(DynamicOutputShapeTest, log_dynamic_output_shape_relaxed) {
39     execute(log::CreateModel_dynamic_output_shape_relaxed,
40             log::is_ignored_dynamic_output_shape_relaxed,
41             log::get_examples_dynamic_output_shape_relaxed());
42 }
43 
TEST_F(DynamicOutputShapeTest,log_dynamic_output_shape_float16)44 TEST_F(DynamicOutputShapeTest, log_dynamic_output_shape_float16) {
45     execute(log::CreateModel_dynamic_output_shape_float16,
46             log::is_ignored_dynamic_output_shape_float16,
47             log::get_examples_dynamic_output_shape_float16());
48 }
49 
50