add subtitle

refactor_docs
Helin Wang 8 years ago
parent c06d4178ad
commit c583447e90

@ -6,10 +6,14 @@ For an overview of trainer's role, please refer to [distributed training design
The parameters on parameter servers need to be initialized. To provide maximum flexibility, we need to allow trainer initialized the parameters. Only one trainer will do the initialization, the other trainers will wait for the completion of initialization and get the parameters from the parameter servers.
### Trainer Selection
To select the trainer for initialization, every trainer will try to get a distributed lock, whoever owns the lock will do the initialization. As illustrated below:
<img src="./src/init_lock.png">
### Selection Process
The select process is encapsulated in the C API function:
```c
int paddle_begin_init_params(paddle_pserver_client* client, const char* config_proto);

Loading…
Cancel
Save