Graph traversal
traverse_graph_ensuring_parents_are_reached_first(graph, start_node)
ΒΆ
This function works under assumption of common super-input node in the graph - otherwise,
there is no common entry point to put as start_node
.
Source code in inference/core/workflows/execution_engine/v1/compiler/graph_traversal.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|