diff --git a/tensorflow/core/common_runtime/rendezvous_mgr.cc b/tensorflow/core/common_runtime/rendezvous_mgr.cc index bbdaa6d85b7..285ac7540c8 100644 --- a/tensorflow/core/common_runtime/rendezvous_mgr.cc +++ b/tensorflow/core/common_runtime/rendezvous_mgr.cc @@ -65,10 +65,10 @@ void IntraProcessRendezvous::SameWorkerRecvDone( StatusCallback done) { // Do a quick copy (sharing the underlying buffer) if both tensors // are on host memory. - const bool src_host = (send_args.alloc_attrs.on_host() || - parsed.src.type == "CPU"); - const bool dst_host = (recv_args.alloc_attrs.on_host() || - parsed.dst.type == "CPU"); + const bool src_host = + (send_args.alloc_attrs.on_host() || parsed.src.type == "CPU"); + const bool dst_host = + (recv_args.alloc_attrs.on_host() || parsed.dst.type == "CPU"); if (src_host && dst_host) { *out = in; done(Status::OK()); diff --git a/tensorflow/core/ops/math_ops.cc b/tensorflow/core/ops/math_ops.cc index 9e553694b92..ff00214da3c 100644 --- a/tensorflow/core/ops/math_ops.cc +++ b/tensorflow/core/ops/math_ops.cc @@ -976,7 +976,7 @@ REGISTER_OP("Select") c->set_output(0, data); return Status::OK(); - }) + }) .Doc(R"doc( Selects elements from `t` or `e`, depending on `condition`.