26 #ifndef CASADI_GRAPH_MODEL_IMPL_HPP
27 #define CASADI_GRAPH_MODEL_IMPL_HPP
29 #include "graph_model.hpp"
35 class GraphModelInternal;
36 class GraphBuilderInternal;
50 std::string
type_name()
const {
return "GraphModel"; }
57 const std::vector<uint8_t>& model_data = std::vector<uint8_t>(),
61 std::string format()
const;
70 std::vector<uint8_t> export_symbolic(
const Function& f,
const Dict& opts =
Dict());
73 const std::vector<uint8_t>& model_data()
const;
83 static bool has_plugin(
const std::string& name);
86 static void load_plugin(
const std::string& name);
89 static std::string doc(
const std::string& name);
Internal class for GraphBuilder.
Base interface for format-specific graph-model backends.
Format-agnostic handle to a parsed computational-graph model.
std::string type_name() const
Readable name of the class.
GenericShared implements a reference counting framework similar for efficient and.
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.