1 // clang-format off
2 // Generated file (from: unidirectional_sequence_rnn.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace unidirectional_sequence_rnn {
6 // Generated unidirectional_sequence_rnn test
7 #include "generated/examples/unidirectional_sequence_rnn.example.cpp"
8 // Generated model constructor
9 #include "generated/models/unidirectional_sequence_rnn.model.cpp"
10 } // namespace unidirectional_sequence_rnn
11
TEST_F(GeneratedTests,unidirectional_sequence_rnn_blackbox)12 TEST_F(GeneratedTests, unidirectional_sequence_rnn_blackbox) {
13 execute(unidirectional_sequence_rnn::CreateModel,
14 unidirectional_sequence_rnn::is_ignored,
15 unidirectional_sequence_rnn::get_examples_blackbox());
16 }
TEST_AVAILABLE_SINCE(V1_2,unidirectional_sequence_rnn_blackbox,unidirectional_sequence_rnn::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, unidirectional_sequence_rnn_blackbox, unidirectional_sequence_rnn::CreateModel)
18
19 TEST_F(GeneratedTests, unidirectional_sequence_rnn_blackbox_relaxed) {
20 execute(unidirectional_sequence_rnn::CreateModel_relaxed,
21 unidirectional_sequence_rnn::is_ignored_relaxed,
22 unidirectional_sequence_rnn::get_examples_blackbox_relaxed());
23 }
24
TEST_F(GeneratedTests,unidirectional_sequence_rnn_blackbox_float16)25 TEST_F(GeneratedTests, unidirectional_sequence_rnn_blackbox_float16) {
26 execute(unidirectional_sequence_rnn::CreateModel_float16,
27 unidirectional_sequence_rnn::is_ignored_float16,
28 unidirectional_sequence_rnn::get_examples_blackbox_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,unidirectional_sequence_rnn_blackbox_float16,unidirectional_sequence_rnn::CreateModel_float16)30 TEST_AVAILABLE_SINCE(V1_2, unidirectional_sequence_rnn_blackbox_float16, unidirectional_sequence_rnn::CreateModel_float16)
31
32 TEST_F(DynamicOutputShapeTest, unidirectional_sequence_rnn_blackbox_dynamic_output_shape) {
33 execute(unidirectional_sequence_rnn::CreateModel_dynamic_output_shape,
34 unidirectional_sequence_rnn::is_ignored_dynamic_output_shape,
35 unidirectional_sequence_rnn::get_examples_blackbox_dynamic_output_shape());
36 }
37
TEST_F(DynamicOutputShapeTest,unidirectional_sequence_rnn_blackbox_dynamic_output_shape_relaxed)38 TEST_F(DynamicOutputShapeTest, unidirectional_sequence_rnn_blackbox_dynamic_output_shape_relaxed) {
39 execute(unidirectional_sequence_rnn::CreateModel_dynamic_output_shape_relaxed,
40 unidirectional_sequence_rnn::is_ignored_dynamic_output_shape_relaxed,
41 unidirectional_sequence_rnn::get_examples_blackbox_dynamic_output_shape_relaxed());
42 }
43
TEST_F(DynamicOutputShapeTest,unidirectional_sequence_rnn_blackbox_dynamic_output_shape_float16)44 TEST_F(DynamicOutputShapeTest, unidirectional_sequence_rnn_blackbox_dynamic_output_shape_float16) {
45 execute(unidirectional_sequence_rnn::CreateModel_dynamic_output_shape_float16,
46 unidirectional_sequence_rnn::is_ignored_dynamic_output_shape_float16,
47 unidirectional_sequence_rnn::get_examples_blackbox_dynamic_output_shape_float16());
48 }
49
TEST_F(GeneratedTests,unidirectional_sequence_rnn_blackbox_time_major)50 TEST_F(GeneratedTests, unidirectional_sequence_rnn_blackbox_time_major) {
51 execute(unidirectional_sequence_rnn::CreateModel_2,
52 unidirectional_sequence_rnn::is_ignored_2,
53 unidirectional_sequence_rnn::get_examples_blackbox_time_major());
54 }
TEST_AVAILABLE_SINCE(V1_2,unidirectional_sequence_rnn_blackbox_time_major,unidirectional_sequence_rnn::CreateModel_2)55 TEST_AVAILABLE_SINCE(V1_2, unidirectional_sequence_rnn_blackbox_time_major, unidirectional_sequence_rnn::CreateModel_2)
56
57 TEST_F(GeneratedTests, unidirectional_sequence_rnn_blackbox_time_major_relaxed) {
58 execute(unidirectional_sequence_rnn::CreateModel_relaxed_2,
59 unidirectional_sequence_rnn::is_ignored_relaxed_2,
60 unidirectional_sequence_rnn::get_examples_blackbox_time_major_relaxed());
61 }
62
TEST_F(GeneratedTests,unidirectional_sequence_rnn_blackbox_time_major_float16)63 TEST_F(GeneratedTests, unidirectional_sequence_rnn_blackbox_time_major_float16) {
64 execute(unidirectional_sequence_rnn::CreateModel_float16_2,
65 unidirectional_sequence_rnn::is_ignored_float16_2,
66 unidirectional_sequence_rnn::get_examples_blackbox_time_major_float16());
67 }
TEST_AVAILABLE_SINCE(V1_2,unidirectional_sequence_rnn_blackbox_time_major_float16,unidirectional_sequence_rnn::CreateModel_float16_2)68 TEST_AVAILABLE_SINCE(V1_2, unidirectional_sequence_rnn_blackbox_time_major_float16, unidirectional_sequence_rnn::CreateModel_float16_2)
69
70 TEST_F(DynamicOutputShapeTest, unidirectional_sequence_rnn_blackbox_time_major_dynamic_output_shape) {
71 execute(unidirectional_sequence_rnn::CreateModel_dynamic_output_shape_2,
72 unidirectional_sequence_rnn::is_ignored_dynamic_output_shape_2,
73 unidirectional_sequence_rnn::get_examples_blackbox_time_major_dynamic_output_shape());
74 }
75
TEST_F(DynamicOutputShapeTest,unidirectional_sequence_rnn_blackbox_time_major_dynamic_output_shape_relaxed)76 TEST_F(DynamicOutputShapeTest, unidirectional_sequence_rnn_blackbox_time_major_dynamic_output_shape_relaxed) {
77 execute(unidirectional_sequence_rnn::CreateModel_dynamic_output_shape_relaxed_2,
78 unidirectional_sequence_rnn::is_ignored_dynamic_output_shape_relaxed_2,
79 unidirectional_sequence_rnn::get_examples_blackbox_time_major_dynamic_output_shape_relaxed());
80 }
81
TEST_F(DynamicOutputShapeTest,unidirectional_sequence_rnn_blackbox_time_major_dynamic_output_shape_float16)82 TEST_F(DynamicOutputShapeTest, unidirectional_sequence_rnn_blackbox_time_major_dynamic_output_shape_float16) {
83 execute(unidirectional_sequence_rnn::CreateModel_dynamic_output_shape_float16_2,
84 unidirectional_sequence_rnn::is_ignored_dynamic_output_shape_float16_2,
85 unidirectional_sequence_rnn::get_examples_blackbox_time_major_dynamic_output_shape_float16());
86 }
87
88