forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathload_from.cpp
27 lines (21 loc) · 857 Bytes
/
load_from.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
// Copyright (C) 2018-2025 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "load_from.hpp"
#include "paddle_utils.hpp"
using namespace ov::frontend;
using PaddleCutTest = FrontEndLoadFromTest;
static LoadFromFEParam getTestData() {
LoadFromFEParam res;
res.m_frontEndName = PADDLE_FE;
res.m_modelsPath = std::string(TEST_PADDLE_MODELS_DIRNAME);
res.m_file = "conv2d/conv2d.pdmodel";
res.m_files = {"2in_2out/2in_2out.pdmodel", "2in_2out/2in_2out.pdiparams"};
res.m_stream = "relu/relu.pdmodel";
res.m_streams = {"2in_2out/2in_2out.pdmodel", "2in_2out/2in_2out.pdiparams"};
return res;
}
INSTANTIATE_TEST_SUITE_P(PaddleCutTest,
FrontEndLoadFromTest,
::testing::Values(getTestData()),
FrontEndLoadFromTest::getTestCaseName);