![]() |
Apache SINGA
A distributed deep learning platform .
|
Public Types | |
typedef std::map< int, shared_ptr< Param > > | ParamShard |
Public Member Functions | |
Server (int thread_id, int group_id, int server_id) | |
void | Setup (const UpdaterProto &proto, shared_ptr< ParamShard > shard) |
void | Run () |
Protected Member Functions | |
virtual Msg * | HandleGet (shared_ptr< Param > param, Msg **msg) |
Process GET request. More... | |
virtual Msg * | HandleUpdate (shared_ptr< Param > param, Msg **msg) |
Process Update request. More... | |
virtual Msg * | HandlePut (shared_ptr< Param > param, Msg **msg) |
Process PUT request. More... | |
virtual Msg * | HandleSyncRequest (shared_ptr< Param > param, Msg **msg) |
TODO Process SYNC request. | |
virtual int | HandleSyncResponse (shared_ptr< Param > param, Msg **msg) |
TODO Process SYNC response. | |
virtual bool | SyncNow () |
Scheduler for synchronizing server groups. More... | |
Protected Attributes | |
int | thread_id_ |
int | group_id_ |
int | server_id_ |
shared_ptr< Dealer > | dealer_ |
shared_ptr< Updater > | updater_ |
shared_ptr< ParamShard > | shard_ |
Process GET request.
Process PUT request.
Process Update request.
|
protectedvirtual |
Scheduler for synchronizing server groups.
TODO implement the Caffe's synchronization scheduler for data parallelism