Merge pull request #10839 from zinspierre/patch1
DirectSession Run() : Variable name typo
This commit is contained in:
commit
c83b70baa4
@ -618,11 +618,11 @@ Status DirectSession::Run(const RunOptions& run_options,
|
|||||||
|
|
||||||
// If requested via RunOptions, output the partition graphs.
|
// If requested via RunOptions, output the partition graphs.
|
||||||
if (run_options.output_partition_graphs()) {
|
if (run_options.output_partition_graphs()) {
|
||||||
protobuf::RepeatedPtrField<GraphDef>* parition_graph_defs =
|
protobuf::RepeatedPtrField<GraphDef>* partition_graph_defs =
|
||||||
run_metadata->mutable_partition_graphs();
|
run_metadata->mutable_partition_graphs();
|
||||||
for (const PerPartitionExecutorsAndLib& exec_and_lib :
|
for (const PerPartitionExecutorsAndLib& exec_and_lib :
|
||||||
executors_and_keys->items) {
|
executors_and_keys->items) {
|
||||||
GraphDef* partition_graph_def = parition_graph_defs->Add();
|
GraphDef* partition_graph_def = partition_graph_defs->Add();
|
||||||
exec_and_lib.graph->ToGraphDef(partition_graph_def);
|
exec_and_lib.graph->ToGraphDef(partition_graph_def);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user