MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Visit

Class Visit

tensorflow/compiler/jit/extract_outside_compilation_pass.cc:1238–1241  ·  view source on GitHub ↗

Reverse DFS from send_from_host_main_graph, and stop at start_node.

Source from the content-addressed store, hash-verified

1236 Node* start_node = pivot_node ? pivot_node : host_graph->source_node();
1237 // Reverse DFS from send_from_host_main_graph, and stop at start_node.
1238 struct Visit {
1239 Node* n;
1240 bool is_exiting;
1241 };
1242 std::vector<Visit> stack{{send_node_in_host_graph, false}};
1243 std::map<Node*, Node*> node_map;
1244 node_map[host_graph->source_node()] = g->source_node();

Callers 2

DeduceStepPredicateFunction · 0.85
VisitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected