#pragma once #include "input_model.h" #include "node_context.h" namespace ov { namespace frontend { namespace ggml { class TranslateSession { public: TranslateSession(const frontend::InputModel::Ptr& input_model, const std::unordered_map& translator_map, bool naive = false); std::shared_ptr get_converted_model(); std::shared_ptr translate_graph(const frontend::InputModel::Ptr& input_model); private: std::shared_ptr apply_transformations(std::shared_ptr model); const frontend::InputModel::Ptr m_input_model; const std::unordered_map& m_translator_map; std::shared_ptr m_ov_model; bool m_naive; }; } // namespace ggml } // namespace frontend } // namespace ov