GreedyPartitioner.topo_sort

GreedyPartitioner.topo_sort(regions)[source]

Topologically sort regions.