12 #ifndef MLPACK_BINDINGS_PYTHON_MLPACK_SERIALIZATION_HPP    13 #define MLPACK_BINDINGS_PYTHON_MLPACK_SERIALIZATION_HPP    24   std::ostringstream oss;
    26     cereal::BinaryOutputArchive b(oss);
    28     b(cereal::make_nvp(name.c_str(), *t));
    34 void SerializeIn(T* t, 
const std::string& str, 
const std::string& name)
    36   std::istringstream iss(str);
    37   cereal::BinaryInputArchive b(iss);
    38   b(cereal::make_nvp(name.c_str(), *t));
    44   std::ostringstream oss;
    46     cereal::JSONOutputArchive b(oss);
    48     b(cereal::make_nvp(name.c_str(), *t));
    56   std::istringstream iss(str);
    57   cereal::JSONInputArchive b(iss);
    58   b(cereal::make_nvp(name.c_str(), *t));
 Linear algebra utility functions, generally performed on matrices or vectors. 
 
std::string SerializeOutJSON(T *t, const std::string &name)
 
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 SerializeInJSON(T *t, const std::string &str, const std::string &name)
 
void SerializeIn(T *t, const std::string &str, const std::string &name)