ArmNN
 24.08
GraphTopologicalSort.hpp File Reference
#include <armnn/Optional.hpp>
#include <functional>
#include <map>
#include <stack>
#include <vector>
Include dependency graph for GraphTopologicalSort.hpp:

Go to the source code of this file.

Namespaces

 armnnUtils
 

Functions

template<typename TNodeId , typename TTargetNodes >
bool GraphTopologicalSort (const TTargetNodes &targetNodes, std::function< std::vector< TNodeId >(TNodeId)> getIncomingEdges, std::vector< TNodeId > &outSorted)