source/train/XLeader.cpp
void XLeader::DestroyParamMap()
{
    for(int i = 0; i < serverModel.paramNum; i++){
        if(paramMap != NULL)
            delete[] paramMap[i];
    }
    delete[] paramMap;
    modelNum = 0;
}
/* destroy the parameter map (and gradient map) */
destroy the parameter map (and gradient map)
destroy the parameter map ( and gradient map )
void XLeader::DestroyParamMap()
{
    for(int i = 0; i < serverModel.paramNum; i++){
        if(paramMap != NULL)
            delete[] paramMap[i];
    }
    delete[] paramMap;
    modelNum = 0;
}
void XLeader :: DestroyParamMap ( ) { for ( int i = 0 ; i < serverModel . paramNum ; i ++ ) { if ( paramMap != NULL ) delete [ ] paramMap [ i ] ; } delete [ ] paramMap ; modelNum = 0 ; }
destroy the parameter map (and gradient map)
destroy the parameter map ( and gradient map )