Home
last modified time | relevance | path

Searched refs:runnable_item (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc430 GrapplerItem runnable_item; in Optimize() local
435 TF_RETURN_IF_ERROR(SetTransitiveFaninGraph(item.graph, &runnable_item.graph, in Optimize()
439 &runnable_item.graph, terminal_nodes, &did_split_identity_n)); in Optimize()
443 runnable_item.graph, &fanin_split_identity_n_graph, terminal_nodes)); in Optimize()
444 runnable_item.graph.Swap(&fanin_split_identity_n_graph); in Optimize()
447 runnable_item = item; in Optimize()
450 MutableGraphView graph_view(&runnable_item.graph); in Optimize()
459 for (auto& node : runnable_item.graph.node()) { in Optimize()
493 pruned_graph->mutable_node()->Swap(runnable_item.graph.mutable_node()); in Optimize()
498 pruned_graph->mutable_node()->Reserve(runnable_item.graph.node_size()); in Optimize()
[all …]