DiSMEC++
|
Go to the source code of this file.
Namespaces | |
dismec | |
Main namespace in which all types, classes, and functions are defined. | |
dismec::io | |
dismec::io::model | |
namespace for all model-related io functions. | |
Functions | |
void | dismec::io::model::save_dense_weights_txt (std::ostream &target, const Model &model) |
Saves the dense weights in a plain-text format. More... | |
void | dismec::io::model::load_dense_weights_txt (std::istream &source, Model &target) |
Loads weights saved by io::model::save_dense_weights_txt. More... | |
void | dismec::io::model::save_dense_weights_npy (std::streambuf &target, const Model &model) |
Saves the dense weights in a npy file. More... | |
void | dismec::io::model::load_dense_weights_npy (std::streambuf &target, Model &model) |
Loads dense weights from a npy file. More... | |
void | dismec::io::model::save_as_sparse_weights_txt (std::ostream &target, const Model &model, double threshold) |
Saves the weights in sparse plain-text format, culling small weights. More... | |
void | dismec::io::model::load_sparse_weights_txt (std::istream &source, Model &target) |
Loads sparse weights from plain-text format. More... | |