Parameter servers

[source]

BaseParameterServer

elephas.parameter.server.BaseParameterServer()

BaseParameterServer

Parameter servers can be started and stopped. Server implementations have to cater to the needs of their respective BaseParameterClient instances.


[source]

HttpServer

elephas.parameter.server.HttpServer(model, optimizer, mode, port=4000, debug=True, threaded=True, use_reloader=True)

HttpServer

Flask HTTP server. Defines two routes, /parameters to GET current parameters held by this server, and /update which can be used to POST updates.