* Refactor ONNX,IR,Common FrontEnds * Rename frontends dir to frontend * Rename frontend_manager, frontend_defs -> manager, defs; move Place, InputModel to src for Paddle FE * remove exports for ir/input_model * fix unit tests * Fix unit tests * revert ONNX_API/IR_API defines * move manager.hpp to frontend dir * delete common folder; rename defs to visibility; fix includes * revert local changes * codestyle * fix build: set correct includes * fix includes * fix build; resolve review comments * fix install paths * correct installation folder for onnx_import * use IE_THROW in ir frontend
28 lines
538 B
C++
28 lines
538 B
C++
// Copyright (C) 2018-2021 Intel Corporation
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "openvino/frontend/frontend.hpp"
|
|
|
|
@OV_FRONTEND_DECLARATIONS@
|
|
|
|
namespace {
|
|
|
|
using GetFrontEndDataFunc = void*();
|
|
using GetAPIVersionFunc = ov::frontend::FrontEndVersion();
|
|
|
|
struct Value {
|
|
GetFrontEndDataFunc* m_dataFunc;
|
|
GetAPIVersionFunc* m_versionFunc;
|
|
};
|
|
|
|
using FrontendsStaticRegistry = std::vector<Value>;
|
|
|
|
const FrontendsStaticRegistry getStaticFrontendsRegistry() {
|
|
@OV_FRONTEND_MAP_DEFINITION@
|
|
}
|
|
|
|
} // namespace
|