diff options
Diffstat (limited to 'tensorflow/core/distributed_runtime/master_session.cc')
-rw-r--r-- | tensorflow/core/distributed_runtime/master_session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/distributed_runtime/master_session.cc b/tensorflow/core/distributed_runtime/master_session.cc index 372d4cad8a..5ce6856af8 100644 --- a/tensorflow/core/distributed_runtime/master_session.cc +++ b/tensorflow/core/distributed_runtime/master_session.cc @@ -939,7 +939,7 @@ Status MasterSession::DoRunWithLocalExecution(CallOptions* opts, mutex_lock l(mu_); return strings::StrCat(prefix, "_S", next_node_id_++); }; - popts.get_incarnation = [this](const string& name) { + popts.get_incarnation = [this](const string& name) -> int64 { Device* d = devices_.FindDeviceByName(name); if (d == nullptr) { return PartitionOptions::kIllegalIncarnation; |