mlpack
master
|
Exposes the seralize method of the given RSType. More...
Public Member Functions | |
SerializeVisitor (Archive &ar, const std::string &name) | |
Construct the SerializeVisitor with the given archive and name. More... | |
template<typename RSType > | |
void | operator() (RSType *rs) const |
Serialize the given model. More... | |
Private Attributes | |
Archive & | ar |
Archive to serialize to. More... | |
const std::string & | name |
Name of the model to serialize. More... | |
Exposes the seralize method of the given RSType.
Definition at line 194 of file rs_model.hpp.
mlpack::range::SerializeVisitor< Archive >::SerializeVisitor | ( | Archive & | ar, |
const std::string & | name | ||
) |
Construct the SerializeVisitor with the given archive and name.
void mlpack::range::SerializeVisitor< Archive >::operator() | ( | RSType * | rs | ) | const |
Serialize the given model.
|
private |
Archive to serialize to.
Definition at line 198 of file rs_model.hpp.
|
private |
Name of the model to serialize.
Definition at line 200 of file rs_model.hpp.