8000 Avoids an extra copy of the graph def. · evdevdev/tensorflow@9f3af71 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f3af71

Browse files
author
Zhifeng Chen
committed
Avoids an extra copy of the graph def.
1 parent 1e79702 commit 9f3af71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/core/common_runtime/direct_session.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ Status DirectSession::CreateGraphs(
543543
}
544544
}
545545

546-
for (auto partition : partitions) {
546+
for (auto&& partition : partitions) {
547547
const string& partition_name = partition.first;
548548

549549
GraphDef* graph_def = &partition.second;

0 commit comments

Comments
 (0)
0