ArmNN
 22.02
GraphTopologicalSort.hpp File Reference
#include <armnn/Optional.hpp>
#include <functional>
#include <map>
#include <stack>
#include <vector>

Go to the source code of this file.

Namespaces

 armnnUtils
 

Enumerations

enum  NodeState { Visiting, Visited }
 

Functions

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

Enumeration Type Documentation

◆ NodeState

enum NodeState
strong

Definition at line 21 of file GraphTopologicalSort.hpp.

22 {
23  Visiting,
24  Visited,
25 };