// clang-format off
// Generated file (from: expand_dims.mod.py). Do not edit
#include "../../TestGenerated.h"
namespace expand_dims {
// Generated expand_dims test
#include "generated/examples/expand_dims.example.cpp"
// Generated model constructor
#include "generated/models/expand_dims.model.cpp"
} // namespace expand_dims
TEST_F(GeneratedTests, expand_dims) {
execute(expand_dims::CreateModel,
expand_dims::is_ignored,
expand_dims::get_examples());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims, expand_dims::CreateModel)
TEST_F(GeneratedTests, expand_dims_relaxed) {
execute(expand_dims::CreateModel_relaxed,
expand_dims::is_ignored_relaxed,
expand_dims::get_examples_relaxed());
}
TEST_F(GeneratedTests, expand_dims_quant8) {
execute(expand_dims::CreateModel_quant8,
expand_dims::is_ignored_quant8,
expand_dims::get_examples_quant8());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8, expand_dims::CreateModel_quant8)
TEST_F(GeneratedTests, expand_dims_int32) {
execute(expand_dims::CreateModel_int32,
expand_dims::is_ignored_int32,
expand_dims::get_examples_int32());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32, expand_dims::CreateModel_int32)
TEST_F(GeneratedTests, expand_dims_float16) {
execute(expand_dims::CreateModel_float16,
expand_dims::is_ignored_float16,
expand_dims::get_examples_float16());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16, expand_dims::CreateModel_float16)
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape) {
execute(expand_dims::CreateModel_dynamic_output_shape,
expand_dims::is_ignored_dynamic_output_shape,
expand_dims::get_examples_dynamic_output_shape());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed) {
execute(expand_dims::CreateModel_dynamic_output_shape_relaxed,
expand_dims::is_ignored_dynamic_output_shape_relaxed,
expand_dims::get_examples_dynamic_output_shape_relaxed());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8) {
execute(expand_dims::CreateModel_dynamic_output_shape_quant8,
expand_dims::is_ignored_dynamic_output_shape_quant8,
expand_dims::get_examples_dynamic_output_shape_quant8());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32) {
execute(expand_dims::CreateModel_dynamic_output_shape_int32,
expand_dims::is_ignored_dynamic_output_shape_int32,
expand_dims::get_examples_dynamic_output_shape_int32());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16) {
execute(expand_dims::CreateModel_dynamic_output_shape_float16,
expand_dims::is_ignored_dynamic_output_shape_float16,
expand_dims::get_examples_dynamic_output_shape_float16());
}
TEST_F(GeneratedTests, expand_dims_2) {
execute(expand_dims::CreateModel_2,
expand_dims::is_ignored_2,
expand_dims::get_examples_2());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_2, expand_dims::CreateModel_2)
TEST_F(GeneratedTests, expand_dims_relaxed_2) {
execute(expand_dims::CreateModel_relaxed_2,
expand_dims::is_ignored_relaxed_2,
expand_dims::get_examples_relaxed_2());
}
TEST_F(GeneratedTests, expand_dims_quant8_2) {
execute(expand_dims::CreateModel_quant8_2,
expand_dims::is_ignored_quant8_2,
expand_dims::get_examples_quant8_2());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8_2, expand_dims::CreateModel_quant8_2)
TEST_F(GeneratedTests, expand_dims_int32_2) {
execute(expand_dims::CreateModel_int32_2,
expand_dims::is_ignored_int32_2,
expand_dims::get_examples_int32_2());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32_2, expand_dims::CreateModel_int32_2)
TEST_F(GeneratedTests, expand_dims_float16_2) {
execute(expand_dims::CreateModel_float16_2,
expand_dims::is_ignored_float16_2,
expand_dims::get_examples_float16_2());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16_2, expand_dims::CreateModel_float16_2)
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_2) {
execute(expand_dims::CreateModel_dynamic_output_shape_2,
expand_dims::is_ignored_dynamic_output_shape_2,
expand_dims::get_examples_dynamic_output_shape_2());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed_2) {
execute(expand_dims::CreateModel_dynamic_output_shape_relaxed_2,
expand_dims::is_ignored_dynamic_output_shape_relaxed_2,
expand_dims::get_examples_dynamic_output_shape_relaxed_2());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8_2) {
execute(expand_dims::CreateModel_dynamic_output_shape_quant8_2,
expand_dims::is_ignored_dynamic_output_shape_quant8_2,
expand_dims::get_examples_dynamic_output_shape_quant8_2());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32_2) {
execute(expand_dims::CreateModel_dynamic_output_shape_int32_2,
expand_dims::is_ignored_dynamic_output_shape_int32_2,
expand_dims::get_examples_dynamic_output_shape_int32_2());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16_2) {
execute(expand_dims::CreateModel_dynamic_output_shape_float16_2,
expand_dims::is_ignored_dynamic_output_shape_float16_2,
expand_dims::get_examples_dynamic_output_shape_float16_2());
}
TEST_F(GeneratedTests, expand_dims_3) {
execute(expand_dims::CreateModel_3,
expand_dims::is_ignored_3,
expand_dims::get_examples_3());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_3, expand_dims::CreateModel_3)
TEST_F(GeneratedTests, expand_dims_relaxed_3) {
execute(expand_dims::CreateModel_relaxed_3,
expand_dims::is_ignored_relaxed_3,
expand_dims::get_examples_relaxed_3());
}
TEST_F(GeneratedTests, expand_dims_quant8_3) {
execute(expand_dims::CreateModel_quant8_3,
expand_dims::is_ignored_quant8_3,
expand_dims::get_examples_quant8_3());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8_3, expand_dims::CreateModel_quant8_3)
TEST_F(GeneratedTests, expand_dims_int32_3) {
execute(expand_dims::CreateModel_int32_3,
expand_dims::is_ignored_int32_3,
expand_dims::get_examples_int32_3());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32_3, expand_dims::CreateModel_int32_3)
TEST_F(GeneratedTests, expand_dims_float16_3) {
execute(expand_dims::CreateModel_float16_3,
expand_dims::is_ignored_float16_3,
expand_dims::get_examples_float16_3());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16_3, expand_dims::CreateModel_float16_3)
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_3) {
execute(expand_dims::CreateModel_dynamic_output_shape_3,
expand_dims::is_ignored_dynamic_output_shape_3,
expand_dims::get_examples_dynamic_output_shape_3());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed_3) {
execute(expand_dims::CreateModel_dynamic_output_shape_relaxed_3,
expand_dims::is_ignored_dynamic_output_shape_relaxed_3,
expand_dims::get_examples_dynamic_output_shape_relaxed_3());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8_3) {
execute(expand_dims::CreateModel_dynamic_output_shape_quant8_3,
expand_dims::is_ignored_dynamic_output_shape_quant8_3,
expand_dims::get_examples_dynamic_output_shape_quant8_3());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32_3) {
execute(expand_dims::CreateModel_dynamic_output_shape_int32_3,
expand_dims::is_ignored_dynamic_output_shape_int32_3,
expand_dims::get_examples_dynamic_output_shape_int32_3());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16_3) {
execute(expand_dims::CreateModel_dynamic_output_shape_float16_3,
expand_dims::is_ignored_dynamic_output_shape_float16_3,
expand_dims::get_examples_dynamic_output_shape_float16_3());
}
TEST_F(GeneratedTests, expand_dims_4) {
execute(expand_dims::CreateModel_4,
expand_dims::is_ignored_4,
expand_dims::get_examples_4());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_4, expand_dims::CreateModel_4)
TEST_F(GeneratedTests, expand_dims_relaxed_4) {
execute(expand_dims::CreateModel_relaxed_4,
expand_dims::is_ignored_relaxed_4,
expand_dims::get_examples_relaxed_4());
}
TEST_F(GeneratedTests, expand_dims_quant8_4) {
execute(expand_dims::CreateModel_quant8_4,
expand_dims::is_ignored_quant8_4,
expand_dims::get_examples_quant8_4());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8_4, expand_dims::CreateModel_quant8_4)
TEST_F(GeneratedTests, expand_dims_int32_4) {
execute(expand_dims::CreateModel_int32_4,
expand_dims::is_ignored_int32_4,
expand_dims::get_examples_int32_4());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32_4, expand_dims::CreateModel_int32_4)
TEST_F(GeneratedTests, expand_dims_float16_4) {
execute(expand_dims::CreateModel_float16_4,
expand_dims::is_ignored_float16_4,
expand_dims::get_examples_float16_4());
}
TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16_4, expand_dims::CreateModel_float16_4)
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_4) {
execute(expand_dims::CreateModel_dynamic_output_shape_4,
expand_dims::is_ignored_dynamic_output_shape_4,
expand_dims::get_examples_dynamic_output_shape_4());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed_4) {
execute(expand_dims::CreateModel_dynamic_output_shape_relaxed_4,
expand_dims::is_ignored_dynamic_output_shape_relaxed_4,
expand_dims::get_examples_dynamic_output_shape_relaxed_4());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8_4) {
execute(expand_dims::CreateModel_dynamic_output_shape_quant8_4,
expand_dims::is_ignored_dynamic_output_shape_quant8_4,
expand_dims::get_examples_dynamic_output_shape_quant8_4());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32_4) {
execute(expand_dims::CreateModel_dynamic_output_shape_int32_4,
expand_dims::is_ignored_dynamic_output_shape_int32_4,
expand_dims::get_examples_dynamic_output_shape_int32_4());
}
TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16_4) {
execute(expand_dims::CreateModel_dynamic_output_shape_float16_4,
expand_dims::is_ignored_dynamic_output_shape_float16_4,
expand_dims::get_examples_dynamic_output_shape_float16_4());
}