diff options
Diffstat (limited to 'tensorflow/core/graph/graph_partition.cc')
-rw-r--r-- | tensorflow/core/graph/graph_partition.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/graph/graph_partition.cc b/tensorflow/core/graph/graph_partition.cc index 1924c05d3d..b9e3cba035 100644 --- a/tensorflow/core/graph/graph_partition.cc +++ b/tensorflow/core/graph/graph_partition.cc @@ -117,7 +117,7 @@ DataType EdgeType(const Edge* e) { } } -// Return true iff we need to add the same device send/recv for 'edge'. +// Return true iff we need to add a same device send/recv for 'edge'. bool NeedSameDeviceSendRecv(const Edge* edge, const GraphInfo& info) { if (edge->IsControlEdge()) { return false; @@ -1116,7 +1116,7 @@ Status Partition(const PartitionOptions& opts, Graph* g, // before the data is available. AddInput(real_recv, send->name(), Graph::kControlSlot); } else if (control_flow_edge != nullptr) { - // Redirect control edge to the real recv since this is not the same + // Redirect control edge to the real recv since this is not a same // device send/recv. --num_control_flow_edges; AddInput(real_recv, control_flow_edge->src()->name(), |