1 // clang-format off
2 // Generated file (from: quantized_lstm.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace quantized_lstm {
6 // Generated quantized_lstm test
7 #include "generated/examples/quantized_lstm.example.cpp"
8 // Generated model constructor
9 #include "generated/models/quantized_lstm.model.cpp"
10 } // namespace quantized_lstm
11
TEST_F(GeneratedTests,quantized_lstm)12 TEST_F(GeneratedTests, quantized_lstm) {
13 execute(quantized_lstm::CreateModel,
14 quantized_lstm::is_ignored,
15 quantized_lstm::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,quantized_lstm,quantized_lstm::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, quantized_lstm, quantized_lstm::CreateModel)
18
19 TEST_F(GeneratedTests, quantized_lstm_relaxed) {
20 execute(quantized_lstm::CreateModel_relaxed,
21 quantized_lstm::is_ignored_relaxed,
22 quantized_lstm::get_examples_relaxed());
23 }
24
TEST_F(DynamicOutputShapeTest,quantized_lstm_dynamic_output_shape)25 TEST_F(DynamicOutputShapeTest, quantized_lstm_dynamic_output_shape) {
26 execute(quantized_lstm::CreateModel_dynamic_output_shape,
27 quantized_lstm::is_ignored_dynamic_output_shape,
28 quantized_lstm::get_examples_dynamic_output_shape());
29 }
30
TEST_F(DynamicOutputShapeTest,quantized_lstm_dynamic_output_shape_relaxed)31 TEST_F(DynamicOutputShapeTest, quantized_lstm_dynamic_output_shape_relaxed) {
32 execute(quantized_lstm::CreateModel_dynamic_output_shape_relaxed,
33 quantized_lstm::is_ignored_dynamic_output_shape_relaxed,
34 quantized_lstm::get_examples_dynamic_output_shape_relaxed());
35 }
36
TEST_F(GeneratedTests,quantized_lstm_constant_weights)37 TEST_F(GeneratedTests, quantized_lstm_constant_weights) {
38 execute(quantized_lstm::CreateModel_2,
39 quantized_lstm::is_ignored_2,
40 quantized_lstm::get_examples_constant_weights());
41 }
TEST_AVAILABLE_SINCE(V1_2,quantized_lstm_constant_weights,quantized_lstm::CreateModel_2)42 TEST_AVAILABLE_SINCE(V1_2, quantized_lstm_constant_weights, quantized_lstm::CreateModel_2)
43
44 TEST_F(GeneratedTests, quantized_lstm_constant_weights_relaxed) {
45 execute(quantized_lstm::CreateModel_relaxed_2,
46 quantized_lstm::is_ignored_relaxed_2,
47 quantized_lstm::get_examples_constant_weights_relaxed());
48 }
49
TEST_F(DynamicOutputShapeTest,quantized_lstm_constant_weights_dynamic_output_shape)50 TEST_F(DynamicOutputShapeTest, quantized_lstm_constant_weights_dynamic_output_shape) {
51 execute(quantized_lstm::CreateModel_dynamic_output_shape_2,
52 quantized_lstm::is_ignored_dynamic_output_shape_2,
53 quantized_lstm::get_examples_constant_weights_dynamic_output_shape());
54 }
55
TEST_F(DynamicOutputShapeTest,quantized_lstm_constant_weights_dynamic_output_shape_relaxed)56 TEST_F(DynamicOutputShapeTest, quantized_lstm_constant_weights_dynamic_output_shape_relaxed) {
57 execute(quantized_lstm::CreateModel_dynamic_output_shape_relaxed_2,
58 quantized_lstm::is_ignored_dynamic_output_shape_relaxed_2,
59 quantized_lstm::get_examples_constant_weights_dynamic_output_shape_relaxed());
60 }
61
62