Remove unused private method: IntraProcessRendezvous::ParseKey().
PiperOrigin-RevId: 282762681 Change-Id: I233481030d5a937f4fd4c17c0e83f3356524a357
This commit is contained in:
parent
d81dc812bd
commit
957b33238c
tensorflow/core/common_runtime
@ -50,16 +50,6 @@ Status IntraProcessRendezvous::Send(const ParsedKey& parsed,
|
||||
return local_->Send(parsed, args, val, is_dead);
|
||||
}
|
||||
|
||||
Status IntraProcessRendezvous::ParseKey(const string& key, bool is_src,
|
||||
Rendezvous::ParsedKey* parsed) {
|
||||
{
|
||||
mutex_lock l(mu_);
|
||||
if (!status_.ok()) return status_;
|
||||
}
|
||||
TF_RETURN_IF_ERROR(Rendezvous::ParseKey(key, parsed));
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
void IntraProcessRendezvous::SameWorkerRecvDone(
|
||||
const Rendezvous::ParsedKey& parsed, const Rendezvous::Args& send_args,
|
||||
const Rendezvous::Args& recv_args, const Tensor& in, Tensor* out,
|
||||
|
@ -66,12 +66,6 @@ class IntraProcessRendezvous : public Rendezvous {
|
||||
|
||||
~IntraProcessRendezvous() override;
|
||||
|
||||
// Parses "key" into "parsed". If "is_src" is true, checks that the
|
||||
// rendezvous key's source is in this process. If "is_src" is false,
|
||||
// checks that the rendezvous key's destination is in this process.
|
||||
Status ParseKey(const string& key, bool is_src,
|
||||
Rendezvous::ParsedKey* parsed);
|
||||
|
||||
// Callback handling the case when a rendezvous has been
|
||||
// accomplished in local_ and the consumer is local to this process.
|
||||
// Tensor "in" will be copied into "out". The key "parsed" encodes
|
||||
|
Loading…
Reference in New Issue
Block a user