forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconvert_model.cpp
28 lines (22 loc) · 1.03 KB
/
convert_model.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (C) 2018-2025 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "convert_model.hpp"
#include "paddle_utils.hpp"
using namespace ov;
using namespace ov::frontend;
using PaddleConvertModelTest = FrontEndConvertModelTest;
static const std::vector<std::string> models{
std::string("conv2d/conv2d.pdmodel"),
std::string("conv2d_relu/conv2d_relu.pdmodel"),
std::string("2in_2out/2in_2out.pdmodel"),
std::string("multi_tensor_split/multi_tensor_split.pdmodel"),
std::string("2in_2out_dynbatch/2in_2out_dynbatch.pdmodel"),
std::string("pool2d_dyn_hw/pool2d_dyn_hw.pdmodel"),
};
INSTANTIATE_TEST_SUITE_P(PaddleConvertModelTest,
FrontEndConvertModelTest,
::testing::Combine(::testing::Values(PADDLE_FE),
::testing::Values(std::string(TEST_PADDLE_MODELS_DIRNAME)),
::testing::ValuesIn(models)),
FrontEndConvertModelTest::getTestCaseName);