12 #ifndef MLPACK_BINDINGS_PYTHON_MLPACK_SERIALIZATION_HPP
13 #define MLPACK_BINDINGS_PYTHON_MLPACK_SERIALIZATION_HPP
24 std::ostringstream oss;
26 boost::archive::binary_oarchive b(oss);
28 b << boost::serialization::make_nvp(name.c_str(), *t);
36 std::istringstream iss(str);
37 boost::archive::binary_iarchive b(iss);
39 b >> boost::serialization::make_nvp(name.c_str(), *t);
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...
std::string SerializeOut(T *t, const std::string &name)
void SerializeIn(T *t, const std::string &str, const std::string &name)
src mlpack core util version hpp VERSION_HPP_CONTENTS string(REGEX REPLACE".*#define MLPACK_VERSION_MAJOR ([0-9]+).*""\\1"MLPACK_VERSION_MAJOR"${VERSION_HPP_CONTENTS}") string(REGEX REPLACE".* MLPACK_VERSION_MINOR "$