source/train/XWorker.cpp
int XWorker::GetModelNum()
{
    /* TODO: return the remote model number if the worker connects
       to another leader. */

    return 1;
}
/* 
get the number of the models for this worker. For a worker that runs
locally (i.e., on the same machine with the leader), the model number
is simply 1. For a remote worker (i.e., the worker must connect to a
remote leader), the model number counts the models that the remote leader
leads.
*/
get the number of the models for this worker. For a worker that runs
locally , the model number
is simply 1. For a remote worker , the model number counts the models that the remote leader
leads.
get the number of the models for this worker . For a worker that runs locally the model number is simply 1 . For a remote worker the model number counts the models that the remote leader leads .
int XWorker::GetModelNum()
{
    return 1;
}
int XWorker :: GetModelNum ( ) { return 1 ; }
get the number of the models for this worker.
get the number of the models for this worker .
/* TODO: return the remote model number if the worker connects
       to another leader. */