aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/distributed_runtime/master_session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/distributed_runtime/master_session.cc')
-rw-r--r--tensorflow/core/distributed_runtime/master_session.cc2
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 1918eae875..0baff5c190 100644
--- a/tensorflow/core/distributed_runtime/master_session.cc
+++ b/tensorflow/core/distributed_runtime/master_session.cc
@@ -438,7 +438,7 @@ static bool CopyIfNeeded(TensorProto* in, TensorProto* out) {
} else {
Tensor t(in->dtype());
if (!t.FromProto(cpu_allocator(), *in)) return false;
- t.AsProtoField(out);
+ t.AsProtoTensorContent(out);
}
return true;
}