Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/utils/
Dtraversal.h35 struct DfsCallbacks { struct
36 DfsCallbacks() = default;
37 DfsCallbacks(std::function<void(const NodeDef*)> pre, in DfsCallbacks() argument
44 static DfsCallbacks PreOrder(std::function<void(const NodeDef*)> pre) { in PreOrder() argument
45 return DfsCallbacks(std::move(pre), nullptr, nullptr); in PreOrder()
48 static DfsCallbacks PostOrder(std::function<void(const NodeDef*)> post) { in PostOrder() argument
49 return DfsCallbacks(nullptr, std::move(post), nullptr); in PostOrder()
91 const DfsCallbacks& callbacks);
98 TraversalDirection direction, const DfsCallbacks& callbacks);
Dtraversal.cc49 const DfsCallbacks& callbacks) { in DfsTraversal()
121 TraversalDirection direction, const DfsCallbacks& callbacks) { in DfsTraversal()
Dtraversal_test.cc28 DfsCallbacks MkCallbacks(std::vector<string>* pre_order, in MkCallbacks()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dcommon_subgraph_elimination.cc192 DfsCallbacks::PreOrder([&](const NodeDef* node) { in DedupComputations()
Dmemory_optimizer.cc622 DfsCallbacks::PostOrder([&topo_order](const NodeDef* n) { in SchedulingPass()
1340 DfsCallbacks::PreOrder([&](const NodeDef* node) { in FindAssignNodesToRelax()
Dloop_optimizer.cc473 DfsCallbacks::PreOrder([&](const NodeDef* node) { in GetStackPushNodesToConvert()