DiSMEC++
dismec::io::model::SaveOption Struct Reference

#include <model-io.h>

Public Attributes

int Precision = 6
 Precision with which the labels will be saved. More...
 
double Culling = 0
 If saving in sparse mode, threshold below which weights will be omitted. More...
 
int SplitFiles = 4096
 Maximum number of weight vectors per file. More...
 
WeightFormat Format = WeightFormat::DENSE_TXT
 Format in which the weights will be saved. More...
 

Detailed Description

Definition at line 111 of file model-io.h.

Member Data Documentation

◆ Culling

double dismec::io::model::SaveOption::Culling = 0

If saving in sparse mode, threshold below which weights will be omitted.

Definition at line 113 of file model-io.h.

Referenced by PYBIND11_MODULE(), and anonymous_namespace{model-io.cpp}::save_weights_dispatch().

◆ Format

WeightFormat dismec::io::model::SaveOption::Format = WeightFormat::DENSE_TXT

Format in which the weights will be saved.

Definition at line 115 of file model-io.h.

Referenced by PYBIND11_MODULE(), anonymous_namespace{model-io.cpp}::save_weights_dispatch(), and TEST_CASE().

◆ Precision

int dismec::io::model::SaveOption::Precision = 6

Precision with which the labels will be saved.

Definition at line 112 of file model-io.h.

Referenced by PYBIND11_MODULE(), and anonymous_namespace{model-io.cpp}::save_weights_dispatch().

◆ SplitFiles

int dismec::io::model::SaveOption::SplitFiles = 4096

Maximum number of weight vectors per file.

Definition at line 114 of file model-io.h.

Referenced by dismec::io::model::save_model().


The documentation for this struct was generated from the following file: