提交 f57978e6 编写于 作者: T tangwei12

renae

上级 fa3d4700
...@@ -211,9 +211,8 @@ class GRPCClient : public RPCClient { ...@@ -211,9 +211,8 @@ class GRPCClient : public RPCClient {
void AsyncSendFetchBarrier(const std::string& ep, void AsyncSendFetchBarrier(const std::string& ep,
int64_t time_out = FLAGS_grpc_deadline) override; int64_t time_out = FLAGS_grpc_deadline) override;
void AsyncCheckpointNotify( void AsyncCheckpointNotify(const std::string& ep, const std::string& dir,
const std::string& ep, const std::string& dir, int64_t time_out = FLAGS_grpc_deadline) override;
int64_t time_out = RPCClient::rpc_time_out) override;
void Wait() override; void Wait() override;
......
...@@ -56,9 +56,9 @@ class RPCClient { ...@@ -56,9 +56,9 @@ class RPCClient {
virtual void AsyncSendFetchBarrier( virtual void AsyncSendFetchBarrier(
const std::string& ep, int64_t time_out = FLAGS_grpc_deadline) = 0; const std::string& ep, int64_t time_out = FLAGS_grpc_deadline) = 0;
virtual void AsyncCheckpointNotify(const std::string& ep, virtual void AsyncCheckpointNotify(
const std::string& dir, const std::string& ep, const std::string& dir,
int64_t time_out = rpc_time_out) = 0; int64_t time_out = FLAGS_grpc_deadline) = 0;
// SendComplete tells all the server that current trainer have no more data // SendComplete tells all the server that current trainer have no more data
// to train, so that the pserver can reduce it's barrier count, and continue // to train, so that the pserver can reduce it's barrier count, and continue
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册