ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-openvino / openvino / input_model.h
| 1 | #pragma once |
| 2 | |
| 3 | #include "decoder.h" |
| 4 | |
| 5 | #include <openvino/frontend/input_model.hpp> |
| 6 | |
| 7 | namespace ov { |
| 8 | namespace frontend { |
| 9 | namespace ggml { |
| 10 | |
| 11 | class FrontEnd; |
| 12 | class GgmlDecoder; |
| 13 | using ov::frontend::ggml::GgmlDecoder; |
| 14 | |
| 15 | class InputModel : public ov::frontend::InputModel { |
| 16 | friend class ::ov::frontend::ggml::FrontEnd; |
| 17 | |
| 18 | public: |
| 19 | explicit InputModel(const std::shared_ptr<GgmlDecoder> & gdecoder); |
| 20 | |
| 21 | const std::shared_ptr<GgmlDecoder> & get_model_decoder() const; |
| 22 | |
| 23 | private: |
| 24 | std::shared_ptr<GgmlDecoder> m_decoder; |
| 25 | }; |
| 26 | |
| 27 | } // namespace ggml |
| 28 | } // namespace frontend |
| 29 | } // namespace ov |