source/train/optimizer/Adam.cpp
void Adam::Init(XConfig &config)
{
    XOptimizer::Init(config);

    adamBeta1 = config.GetFloat("adambeta1", 0.9F);
    adamBeta2 = config.GetFloat("adambeta2", 0.98F);
    adamDelta = config.GetFloat("adamdelta", 1e-9F);
}
/*
initialize the optimizer
>> config - the configuration
*/
initialize the optimizer
>> config - the configuration
initialize the optimizer >> config - the configuration
void Adam::Init(XConfig &config)
{
    XOptimizer::Init(config);
    adamBeta1 = config.GetFloat("adambeta1", 0.9F);
    adamBeta2 = config.GetFloat("adambeta2", 0.98F);
    adamDelta = config.GetFloat("adamdelta", 1e-9F);
}
void Adam :: Init ( XConfig & config ) { XOptimizer :: Init ( config ) ; adamBeta1 = config . GetFloat ( " " , 0.9F ) ; adamBeta2 = config . GetFloat ( " " , 0.98F ) ; adamDelta = config . GetFloat ( " " , 1e-9F ) ; }
initialize the optimizer
>> config - the configuration
initialize the optimizer >> config - the configuration