C++程序  |  25行  |  675 B

// clang-format off
// Generated file (from: add.mod.py). Do not edit
#include "../../TestGenerated.h"

namespace add {
// Generated add test
#include "generated/examples/add.example.cpp"
// Generated model constructor
#include "generated/models/add.model.cpp"
} // namespace add

TEST_F(GeneratedTests, add) {
    execute(add::CreateModel,
            add::is_ignored,
            add::get_examples());
}
TEST_AVAILABLE_SINCE(V1_0, add, add::CreateModel)

TEST_F(DynamicOutputShapeTest, add_dynamic_output_shape) {
    execute(add::CreateModel_dynamic_output_shape,
            add::is_ignored_dynamic_output_shape,
            add::get_examples_dynamic_output_shape());
}