source/train/XOptimizer.cpp
void XOptimizer::Init(XConfig &config)
{
    nstep = config.GetInt("nstep", 100000);
    nepoch = config.GetInt("nepoch", 50);
    lrate = config.GetFloat("lrate", 0.1F);
}
/* 
initialize the optimizer 
>> config - the configuration
*/
initialize the optimizer
>> config - the configuration
initialize the optimizer >> config - the configuration
void XOptimizer::Init(XConfig &config)
{
    nstep = config.GetInt("nstep", 100000);
    nepoch = config.GetInt("nepoch", 50);
    lrate = config.GetFloat("lrate", 0.1F);
}
void XOptimizer :: Init ( XConfig & config ) { nstep = config . GetInt ( " " , 100000 ) ; nepoch = config . GetInt ( " " , 50 ) ; lrate = config . GetFloat ( " " , 0.1F ) ; }
initialize the optimizer
>> config - the configuration
initialize the optimizer >> config - the configuration