Direct Session : Run() method, name correction parition_graph_defs to partition_graph_defs
This commit is contained in:
parent
6457f0df53
commit
01823ffed8
@ -618,11 +618,11 @@ Status DirectSession::Run(const RunOptions& run_options,
|
||||
|
||||
// If requested via RunOptions, output the 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();
|
||||
for (const PerPartitionExecutorsAndLib& exec_and_lib :
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user