Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

862 B
Raw Blame
// Copyright (C) 2018-2026 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#pragma once

#include <gtest/gtest.h>

#include "openvino/frontend/manager.hpp"

using ConvertParam = std::tuple<std::string,   // FrontEnd name
                                std::string,   // Base path to models
                                std::string>;  // Model name

class FrontEndConvertModelTest : public ::testing::TestWithParam<ConvertParam> {
public:
    std::string m_feName;
    std::string m_pathToModels;
    std::string m_modelFile;
    ov::frontend::FrontEndManager m_fem;
    ov::frontend::FrontEnd::Ptr m_frontEnd;
    ov::frontend::InputModel::Ptr m_inputModel;

    static std::string getTestCaseName(const testing::TestParamInfo<ConvertParam>& obj);

    void SetUp() override;

protected:
    void initParamTest();

    void doLoadFromFile();
};